aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-06-03 04:57:46 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-06-03 04:57:46 +0000
commitc3007946a7b0b2c6c19929a1a933ce7fe1558525 (patch)
tree9d89dcb89de96009f7c6cd45a8a6eb48ddb70efb /chapter07
parentaa990c980fbcbb265a3da648f35cf8bd72ba0ae2 (diff)
Update to upstream r11892
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11893 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/network.xml2
-rw-r--r--chapter07/networkd.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index 2a86df669..b527258ee 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -208,7 +208,7 @@ EOF</userinput></screen>
<screen><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>
<replaceable>&lt;192.168.1.1&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
::1 localhost ip6-localhost ip6-loopback
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