aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/hostname.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/hostname.xml')
-rw-r--r--chapter07/hostname.xml35
1 files changed, 19 insertions, 16 deletions
diff --git a/chapter07/hostname.xml b/chapter07/hostname.xml
index 0d89e785f..7515d6a03 100644
--- a/chapter07/hostname.xml
+++ b/chapter07/hostname.xml
@@ -1,29 +1,32 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/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"?>
+ <?dbhtml filename="hostname.html"?>
+
+ <title>Configuring the localnet Script</title>
-<indexterm zone="ch-scripts-hostname">
-<primary sortas="d-localnet">localnet</primary>
-<secondary>configuring</secondary></indexterm>
+ <indexterm zone="ch-scripts-hostname">
+ <primary sortas="d-localnet">localnet</primary>
+ <secondary>configuring</secondary>
+ </indexterm>
-<para>Part of the job of the <command>localnet</command> script is setting the
-system's hostname. This needs to be configured in the
-<filename>/etc/sysconfig/network</filename> file.</para>
+ <para>Part of the job of the <command>localnet</command> script is setting the
+ system's hostname. This needs to be configured in the
+ <filename>/etc/sysconfig/network</filename> file.</para>
-<para>Create the <filename>/etc/sysconfig/network</filename> file and enter a
-hostname by running:</para>
+ <para>Create the <filename>/etc/sysconfig/network</filename> file and enter a
+ hostname by running:</para>
<screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" &gt; /etc/sysconfig/network</userinput></screen>
-<para><replaceable>[lfs]</replaceable> needs to be replaced with the name given
-to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That
-information will be put in the <filename>/etc/hosts</filename> file in the next
-section.</para>
+ <para><replaceable>[lfs]</replaceable> needs to be replaced with the name given
+ to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That
+ information will be put in the <filename>/etc/hosts</filename> file in the next
+ section.</para>
</sect1>
-