diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-04-03 21:52:09 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-04-03 21:52:09 +0000 |
commit | cba2d4e6aa081fdf62e527d28eba137eb885f0cc (patch) | |
tree | eee1c3ef6d42101635b135289262eb1386cf87a0 /chapter07/hostname.xml | |
parent | 008436e04cb47fbba28ab083cf4ef9339699b5fd (diff) |
Added systemd and dbus to the book.
Set up systemd and System V side-by-side with the
ability to reboot to either system.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/hostname.xml')
-rw-r--r-- | chapter07/hostname.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter07/hostname.xml b/chapter07/hostname.xml index 9addc0f2a..c508d5372 100644 --- a/chapter07/hostname.xml +++ b/chapter07/hostname.xml @@ -15,14 +15,14 @@ <secondary>configuring</secondary> </indexterm> - <para>Part of the job of the <command>localnet</command> script is setting the - system's hostname. This needs to be configured in the - <filename>/etc/sysconfig/network</filename> file.</para> + <para>Durein gthe boot process, both Systemd and System V use the same + file for establixhg the system's hostname.This needs to be configured by + creating <filename>/etc/hostname</filename>.</para> - <para>Create the <filename>/etc/sysconfig/network</filename> file and enter a + <para>Create the <filename>/etc/hostname</filename> file and enter a hostname by running:</para> -<screen><userinput>echo "HOSTNAME=<replaceable><lfs></replaceable>" > /etc/sysconfig/network</userinput></screen> +<screen><userinput>echo "<replaceable><lfs></replaceable>" > /etc/hostname</userinput></screen> <para><replaceable><lfs></replaceable> needs to be replaced with the name given to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That |