network.xml 593 B

1234567891011121314151617181920212223
  1. <sect1 id="ch09-network">
  2. <title>Creating the /etc/sysconfig/network file</title>
  3. <para>
  4. Create a new file <filename>/etc/sysconfig/network</filename> and put the
  5. hostname 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. Replace <quote>lfs</quote> by the name you wish to call your computer.
  12. Please not that you should not enter the FQDN (Fully Qualified Domain
  13. Name) here. That information will be put in the
  14. <filename>/etc/hosts</filename> file later.
  15. </para>
  16. </sect1>