diff options
Diffstat (limited to 'chapter07/hostname.xml')
-rw-r--r-- | chapter07/hostname.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter07/hostname.xml b/chapter07/hostname.xml index 5b299f335..46c083a43 100644 --- a/chapter07/hostname.xml +++ b/chapter07/hostname.xml @@ -7,10 +7,22 @@ <title>Configuring the localnet Script</title> <?dbhtml filename="hostname.html"?> +<indexterm zone="ch-scripts-hostname"> +<primary sortas="d-localnet">localnet</primary> +<secondary>configuring</secondary></indexterm> + +<para>Part of the localnet script is setting up the system's hostname. This +needs to be configured in the <filename>/etc/sysconfig/network</filename>.</para> <para>Create the <filename>/etc/sysconfig/network</filename> file and enter a hostname by running:</para> <screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" > /etc/sysconfig/network</userinput></screen> +<para><replaceable>[lfs]</replaceable> needs to be replaced with the +name the computer is to be called. Do not enter the Fully Qualified +Domain Name (FQDN) here. That information will be put in the +<filename>/etc/hosts</filename> file later.</para> + </sect1> + |