network.xml 566 B

12345678910111213141516
  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;
  6. /etc/sysconfig/network</userinput></screen></para>
  7. <para><quote>lfs</quote> needs to be replaced by the name the computer is
  8. to be called. A user should not enter the FQDN (Fully Qualified Domain
  9. Name) here. That information will be put in the
  10. <filename>/etc/hosts</filename> file later.</para>
  11. </sect1>