2004-05-03 11:59:46 +01:00
|
|
|
<?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;
|
|
|
|
]>
|
2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-scripts-hostname">
|
2002-01-15 21:32:01 +00:00
|
|
|
<title>Configuring the localnet script</title>
|
2004-05-03 11:59:46 +01:00
|
|
|
<?dbhtml filename="hostname.html"?>
|
|
|
|
|
2002-01-15 21:32:01 +00:00
|
|
|
|
2004-06-19 17:54:58 +01:00
|
|
|
<para>Create the <filename>/etc/sysconfig/network</filename> file and enter a hostname by
|
2002-01-15 21:32:01 +00:00
|
|
|
running:</para>
|
|
|
|
|
2004-06-19 17:54:58 +01:00
|
|
|
<screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" > /etc/sysconfig/network</userinput></screen>
|
2002-01-15 21:32:01 +00:00
|
|
|
|
|
|
|
</sect1>
|