| 123456789101112131415161718192021222324252627 | <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [  <!ENTITY % general-entities SYSTEM "../general.ent">  %general-entities;]><sect1 id="ch-scripts-hostname"><title>Configuring the localnet script</title><?dbhtml filename="hostname.html"?><indexterm zone="ch-scripts-hostname"><primary sortas="d-localnet">localnet</primary><secondary>configuring</secondary></indexterm><para>Part of the localnet script is setting up the system's hostname. Thisneeds to be configured in the /etc/sysconfig/network.</para><para>Create the /etc/sysconfig/network file and enter a hostname byrunning:</para><screen><userinput>echo "HOSTNAME=lfs" > /etc/sysconfig/network</userinput></screen><para><quote>lfs</quote> needs to be replaced with the name the computer is to be called. You should not enter the FQDN (Fully Qualified DomainName) here. That information will be put in the<filename>/etc/hosts</filename> file later on.</para></sect1>
 |