Author: bdubbs
Date: Mon Jun  1 13:38:04 2020
New Revision: 11892

Log:
Tweak /etc/hosts file

Modified:
   trunk/BOOK/chapter07/network.xml
   trunk/BOOK/chapter07/networkd.xml

Modified: trunk/BOOK/chapter07/network.xml
==============================================================================
--- trunk/BOOK/chapter07/network.xml    Mon Jun  1 13:19:10 2020        (r11891)
+++ trunk/BOOK/chapter07/network.xml    Mon Jun  1 13:38:04 2020        (r11892)
@@ -208,7 +208,7 @@
 <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

Modified: trunk/BOOK/chapter07/networkd.xml
==============================================================================
--- trunk/BOOK/chapter07/networkd.xml   Mon Jun  1 13:19:10 2020        (r11891)
+++ trunk/BOOK/chapter07/networkd.xml   Mon Jun  1 13:38:04 2020        (r11892)
@@ -294,7 +294,7 @@
 <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
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to