Changeset 4234aea6


Ignore:
Timestamp:
06/12/2020 09:30:19 PM (4 years 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, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
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.