Ignore:
File:
1 edited

Legend:

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

    r0b9e109 r40b9a5f  
    99  <?dbhtml filename="hostname.html"?>
    1010
    11   <title>Configuring the localnet Script</title>
     11  <title>Configuring the system hostname</title>
    1212
    1313  <indexterm zone="ch-network-hostname">
    14     <primary sortas="d-localnet">localnet</primary>
     14    <primary sortas="d-hostname">hostname</primary>
    1515  <secondary>configuring</secondary></indexterm>
    1616
    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>
     17  <para>Systemd reads <filename>/etc/hostname</filename> to determine which
     18  hostname should be set.</para>
    2019
    21   <para>Create the <filename>/etc/sysconfig/network</filename> file
    22   and enter a hostname by running:</para>
     20  <para>Create the <filename>/etc/hostname</filename> file and enter a hostname
     21  by running:</para>
    2322
    24   <screen><userinput>echo "HOSTNAME=<replaceable>[clfs]</replaceable>" &gt; /etc/sysconfig/network</userinput></screen>
     23  <screen><userinput>echo "<replaceable>[clfs]</replaceable>" &gt; /etc/hostname</userinput></screen>
    2524
    2625  <para><replaceable>[clfs]</replaceable> needs to be replaced with the
Note: See TracChangeset for help on using the changeset viewer.