Changeset 4234aea6


Ignore:
Timestamp:
06/12/2020 09:30:19 PM (18 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, ml-11.0, multilib, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
37b5ac1
Parents:
9e7475a
Message:

Fix the /etc/hosts file on systemd

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11930 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/networkd.xml

    r9e7475a r4234aea6  
    289289     This is necessary for certain programs, such as MTAs, to operate properly.</para>
    290290
     291<!--
    291292     <para>Create the /etc/hosts file using the following command:</para>
    292293
     
    302303# End /etc/hosts</literal>
    303304EOF</userinput></screen>
    304 
    305      <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents
    306      the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved
    307      specifically for the FQDN.</para>
    308 
    309 <!--
    310      <para>If using a static address, create the <filename>/etc/hosts</filename>
    311      file by running this command instead:</para>
     305-->
     306
     307     <para>Create the <filename>/etc/hosts</filename> file using the following
     308     command:</para>
    312309
    313310<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
     
    329326     changed for specific uses or requirements (if assigned an IP address by a
    330327     network/system administrator and the machine will be connected to an
    331      existing network). The optional alias name(s) can be omitted.</para>
    332 -->
     328     existing network). The optional alias name(s) can be omitted, and the
     329     <replaceable>&lt;192.168.0.2</replaceable> line can be omitted if you
     330     are using a connection configured with DHCP or IPv6 Autoconfiguration.</para>
     331
     332     <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents
     333     the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved
     334     specifically for the FQDN.</para>
     335
    333336   </sect2>
    334337
Note: See TracChangeset for help on using the changeset viewer.