Ignore:
Timestamp:
02/15/2013 09:14:37 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
b588d62
Parents:
4a4e017
Message:

Move Chapter 7 in place for Systemd.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10159 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/hostname.xml

    r4a4e017 rf3317d4  
    1616  </indexterm>
    1717
    18   <para>Part of the job of the <command>localnet</command> script is setting the
    19   system's hostname. This needs to be configured in the
    20   <filename>/etc/sysconfig/network</filename> file.</para>
     18  <para>Systemd reads <filename>/etc/hostname</filename> to determine which
     19  hostname should be set.</para>
    2120
    22   <para>Create the <filename>/etc/sysconfig/network</filename> file and enter a
     21  <para>Create the <filename>/etc/hostname</filename> file and enter a
    2322  hostname by running:</para>
    2423
    25 <screen><userinput>echo "HOSTNAME=<replaceable>&lt;lfs&gt;</replaceable>" &gt; /etc/sysconfig/network</userinput></screen>
     24<screen><userinput>echo "<replaceable>&lt;lfs&gt;</replaceable>" &gt; /etc/hostname</userinput></screen>
    2625
    2726  <para><replaceable>&lt;lfs&gt;</replaceable> needs to be replaced with the name given
Note: See TracChangeset for help on using the changeset viewer.