aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-12 22:34:30 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-12 22:34:30 +0000
commit594fd06a31f18ec0e9fd44ac3bde591800bb96d6 (patch)
treec2470bb541a03c54e83a251de6aa7e9a5220bf6c /chapter06
parenta9c70c2bb025bcd2f31d68583b5e908f7ea894c7 (diff)
basic-net needs lorien in /etc/hosts for perl's test to pass
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2586 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/basic-net.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/basic-net.xml b/chapter06/basic-net.xml
index c89ecc7d9..c630abf33 100644
--- a/chapter06/basic-net.xml
+++ b/chapter06/basic-net.xml
@@ -12,7 +12,7 @@ information allowing resolution of hostnames to IP addresses. Create a
very basic one (we'll make a better one later) with the following
command:</para>
-<para><screen><userinput>echo '127.0.0.1 localhost' > /etc/hosts</userinput></screen></para>
+<para><screen><userinput>echo '127.0.0.1 $(hostname) localhost' > /etc/hosts</userinput></screen></para>
<para>Now unpack the Lfs-Utils tarball again, as we're going to copy two
necessary files from it. One is the /etc/services file, which is used to