network.xml 597 B

12345678910111213141516171819202122
  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. <blockquote><literallayout>
  8. <userinput>echo "HOSTNAME=lfs" &gt; /etc/sysconfig/network</userinput>
  9. </literallayout></blockquote>
  10. <para>
  11. <quote>lfs</quote> needs to be replaced by the name the computer is to be
  12. called.
  13. A user should not enter the FQDN (Fully Qualified Domain
  14. Name) here. That information will be put in the
  15. <filename>/etc/hosts</filename> file later.
  16. </para>
  17. </sect1>