aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/hosts.xml
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-08-26 21:21:44 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-08-26 21:21:44 +0000
commit140190c033ddaf881cb4fdc369904575a3d157a8 (patch)
tree93a1bda41c136bbec631145aa2e45b3db95b7b6a /chapter07/hosts.xml
parent69a7180b3ade75d2abfc11d229918c5ad4032d08 (diff)
Fixed chapter 7 creation of hosts file to eliminate the use of www.mydomain.org.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2681 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/hosts.xml')
-rw-r--r--chapter07/hosts.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml
index db3dfe36d..b5119509f 100644
--- a/chapter07/hosts.xml
+++ b/chapter07/hosts.xml
@@ -29,7 +29,7 @@ correctly.</para>
<para><screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"</userinput>
# Begin /etc/hosts (no network card version)
-127.0.0.1 www.mydomain.com &lt;value of HOSTNAME&gt; localhost
+127.0.0.1 &lt;value of HOSTNAME&gt;.mydomain.com &lt;value of HOSTNAME&gt; localhost
# End /etc/hosts (no network card version)
<userinput>EOF</userinput></screen></para>
@@ -41,15 +41,15 @@ correctly.</para>
# Begin /etc/hosts (network card version)
127.0.0.1 localhost.localdomain localhost
-192.168.1.1 www.mydomain.org &lt;value of HOSTNAME&gt;
+192.168.1.1 &lt;value of HOSTNAME&gt;.mydomain.org &lt;value of HOSTNAME&gt;
# End /etc/hosts (network card version)
<userinput>EOF</userinput></screen></para>
-<para>Of course, the 192.168.1.1 and www.mydomain.org have to be changed
-to your liking (or requirements if assigned an IP-address by a network/system
-administrator and this machine is planned to be connected to an existing
-network).</para>
+<para>Of course, the 192.168.1.1 and &lt;value of HOSTNAME&gt;.mydomain.org
+have to be changed to your liking (or requirements if assigned an IP-address
+by a network/system administrator and this machine is planned to be connected
+to an existing network).</para>
</sect1>