diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-01-15 21:32:01 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-01-15 21:32:01 +0000 |
commit | 8d18f3d4a90124be837d4c086c2f5f04ee855c69 (patch) | |
tree | b8d9057677a81d4131a55fd17e68f2761c4706a3 /chapter07/hostname.xml | |
parent | eac0ee1d91c2e7552ae575bd254fbfc79be4cb45 (diff) |
more updates to bootscripts
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1442 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/hostname.xml')
-rw-r--r-- | chapter07/hostname.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chapter07/hostname.xml b/chapter07/hostname.xml new file mode 100644 index 000000000..1e85fea92 --- /dev/null +++ b/chapter07/hostname.xml @@ -0,0 +1,19 @@ +<sect1 id="ch07-hostname"> +<title>Configuring the localnet script</title> +<?dbhtml filename="hostname.html" dir="chapter07"?> + +<para>Part of the localnet script is setting up the system's hostname. This +needs to be configured in the /etc/sysconfig/network.</para> + +<para>Create the /etc/sysconfig/network file and enter a hostname by +running:</para> + +<para><screen><userinput>echo "HOSTNAME=lfs" > /etc/sysconfig/network</userinput></screen></para> + +<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 Domain +Name) here. That information will be put in the +<filename>/etc/hosts</filename> file later on.</para> + +</sect1> + |