aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/networkd.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-01 20:38:04 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-01 20:38:04 +0000
commit8d1746eb0e62109d3d794dc5f113fa149912f0b5 (patch)
tree67450fdbc76271be5ec6fe33426b8c292e771040 /chapter07/networkd.xml
parent08f74da93c2579d207a849002637fc087c1f8a24 (diff)
Tweak /etc/hosts file
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11892 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/networkd.xml')
-rw-r--r--chapter07/networkd.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter07/networkd.xml b/chapter07/networkd.xml
index b95d9b390..688c315aa 100644
--- a/chapter07/networkd.xml
+++ b/chapter07/networkd.xml
@@ -294,7 +294,7 @@ EOF</userinput></screen>
<screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
<literal># Begin /etc/hosts
-127.0.0.1 localhost
+127.0.0.1 localhost.localdomain localhost
127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes