diff options
Diffstat (limited to 'chapter07/hostname.xml')
-rw-r--r-- | chapter07/hostname.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter07/hostname.xml b/chapter07/hostname.xml index c68b5cb2d..9320fee1d 100644 --- a/chapter07/hostname.xml +++ b/chapter07/hostname.xml @@ -12,14 +12,14 @@ <secondary>configuring</secondary></indexterm> <para>Part of the localnet script is setting up the system's hostname. This -needs to be configured in the /etc/sysconfig/network.</para> +needs to be configured in the <filename>/etc/sysconfig/network</filename>.</para> -<para>Create the /etc/sysconfig/network file and enter a hostname by +<para>Create the <filename>/etc/sysconfig/network</filename> file and enter a hostname by running:</para> -<screen><userinput>echo "HOSTNAME=lfs" > /etc/sysconfig/network</userinput></screen> +<screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" > /etc/sysconfig/network</userinput></screen> -<para><quote>lfs</quote> needs to be replaced with the name the computer is +<para><replaceable>[lfs]</replaceable> needs to be replaced with the name the computer is to be called. You should not enter the FQDN (Fully Qualified Domain Name) here. That information will be put in the <filename>/etc/hosts</filename> file later on.</para> |