|
@@ -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
|
|
very basic one (we'll make a better one later) with the following
|
|
command:</para>
|
|
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
|
|
<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
|
|
necessary files from it. One is the /etc/services file, which is used to
|