aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter06/basic-net.xml2
2 files changed, 5 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index c1e50b32d..815426653 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -71,6 +71,10 @@
</itemizedlist>
</para></listitem>
+<listitem><para>May 12th, 2003 [gerard]: Chapter 06 - Basic Network: Added
+$(hostname) to /etc/hosts, without it perl's test doens't
+pass.</para></listitem>
+
<listitem><para>May 11th, 2003 [gerard]: Chapter 06 - GCC-2.95.3: Added
--enable-threads=posix as well to complete the C++
addition.</para></listitem>
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