network.xml 564 B

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