From d72e04ae7c868b734e3ad39982b169c71444f541 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 30 Jan 2005 12:51:22 +0000 Subject: Added 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 --- chapter07/hosts.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'chapter07/hosts.xml') 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 @@ Creating the /etc/hosts File -If a network card is not going to be configured, create the +If a network card is to be configured, create the /etc/hosts file by running: cat > /etc/hosts << "EOF" -# Begin /etc/hosts (no network card version) +# Begin /etc/hosts (network card version) -127.0.0.1 [<value of HOSTNAME>.example.org] [value of HOSTNAME] localhost +127.0.0.1 localhost +[192.168.1.1] [<HOSTNAME>.example.org] [HOSTNAME] -# End /etc/hosts (no network card version) +# End /etc/hosts (network card version) EOF -If a network card is to be configured, create the +If a network card is not going to be configured, create the /etc/hosts file by running: cat > /etc/hosts << "EOF" -# Begin /etc/hosts (network card version) +# Begin /etc/hosts (no network card version) -127.0.0.1 localhost -[192.168.1.1] [<value of HOSTNAME>.example.org] [value of HOSTNAME] +127.0.0.1 [<HOSTNAME>.example.org] [HOSTNAME] localhost -# End /etc/hosts (network card version) +# End /etc/hosts (no network card version) EOF -- cgit v1.2.3-54-g00ecf