Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/network/common/hostname.xml

    r40b9a5f r0b9e109  
    99  <?dbhtml filename="hostname.html"?>
    1010
    11   <title>Configuring the system hostname</title>
     11  <title>Configuring the localnet Script</title>
    1212
    1313  <indexterm zone="ch-network-hostname">
    14     <primary sortas="d-hostname">hostname</primary>
     14    <primary sortas="d-localnet">localnet</primary>
    1515  <secondary>configuring</secondary></indexterm>
    1616
    17   <para>Systemd reads <filename>/etc/hostname</filename> to determine which
    18   hostname should be set.</para>
     17  <para>Part of the job of the <command>localnet</command> script is
     18  setting the system's hostname. This needs to be configured in the
     19  <filename>/etc/sysconfig/network</filename> file.</para>
    1920
    20   <para>Create the <filename>/etc/hostname</filename> file and enter a hostname
    21   by running:</para>
     21  <para>Create the <filename>/etc/sysconfig/network</filename> file
     22  and enter a hostname by running:</para>
    2223
    23   <screen><userinput>echo "<replaceable>[clfs]</replaceable>" &gt; /etc/hostname</userinput></screen>
     24  <screen><userinput>echo "HOSTNAME=<replaceable>[clfs]</replaceable>" &gt; /etc/sysconfig/network</userinput></screen>
    2425
    2526  <para><replaceable>[clfs]</replaceable> needs to be replaced with the
Note: See TracChangeset for help on using the changeset viewer.