network.xml 572 B

123456789101112131415161718192021222324
  1. <sect1 id="ch07-network">
  2. <title>Creating the /etc/sysconfig/network file</title>
  3. <para>
  4. A new file <filename>/etc/sysconfig/network</filename> is created and the
  5. hostname is put in it by running:
  6. </para>
  7. <para>
  8. <screen>
  9. <userinput>echo "HOSTNAME=lfs" &gt; /etc/sysconfig/network</userinput>
  10. </screen>
  11. </para>
  12. <para>
  13. <quote>lfs</quote> needs to be replaced by the name the computer is to be
  14. called.
  15. A user should not enter the FQDN (Fully Qualified Domain
  16. Name) here. That information will be put in the
  17. <filename>/etc/hosts</filename> file later.
  18. </para>
  19. </sect1>