aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/hostname.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/hostname.xml')
-rw-r--r--chapter07/hostname.xml10
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>&lt;lfs&gt;</replaceable>" &gt; /etc/sysconfig/network</userinput></screen>
+<screen><userinput>echo "<replaceable>&lt;lfs&gt;</replaceable>" &gt; /etc/hostname</userinput></screen>
<para><replaceable>&lt;lfs&gt;</replaceable> needs to be replaced with the name given
to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That