diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2005-01-30 12:51:22 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2005-01-30 12:51:22 +0000 |
commit | d72e04ae7c868b734e3ad39982b169c71444f541 (patch) | |
tree | 8009bd8eb42c8b44e5c78decfd41c579e74a2c3b /chapter07/hosts.xml | |
parent | bce08efc719e0824225490272cefa848a2313b24 (diff) |
Added <literal> tags.
Added NEW comments to commands that differs from testing.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4599 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/hosts.xml')
-rw-r--r-- | chapter07/hosts.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 5f58fe0fe..dda1de2b9 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -7,27 +7,27 @@ <title>Creating the /etc/hosts File</title> <?dbhtml filename="hosts.html"?> -<para>If a network card is not going to be configured, create the +<para>If a network card is to be configured, create the <filename>/etc/hosts</filename> file by running:</para> <screen><userinput>cat > /etc/hosts << "EOF" -# Begin /etc/hosts (no network card version) +<literal># Begin /etc/hosts (network card version) -127.0.0.1 <replaceable>[<value of HOSTNAME>.example.org]</replaceable> <replaceable>[value of HOSTNAME]</replaceable> localhost +127.0.0.1 localhost +<replaceable>[192.168.1.1]</replaceable> <replaceable>[<HOSTNAME>.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> -# End /etc/hosts (no network card version) +# End /etc/hosts (network card version)</literal> EOF</userinput></screen> -<para>If a network card is to be configured, create the +<para>If a network card is not going to be configured, create the <filename>/etc/hosts</filename> file by running:</para> <screen><userinput>cat > /etc/hosts << "EOF" -# Begin /etc/hosts (network card version) +<literal># Begin /etc/hosts (no network card version) -127.0.0.1 localhost -<replaceable>[192.168.1.1]</replaceable> <replaceable>[<value of HOSTNAME>.example.org]</replaceable> <replaceable>[value of HOSTNAME]</replaceable> +127.0.0.1 <replaceable>[<HOSTNAME>.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> localhost -# End /etc/hosts (network card version) +# End /etc/hosts (no network card version)</literal> EOF</userinput></screen> </sect1> |