From cdf7a686d7d1c69fac808a89c8120a276a174b5f Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 10 Mar 2019 09:12:26 +0000 Subject: Make variable values in /etc/sysconfig/ifconfig.xxx example. + little rewording of some comments. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/network.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'chapter07') diff --git a/chapter07/network.xml b/chapter07/network.xml index 601c7e074..cebf4c973 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -49,17 +49,17 @@ cd /etc/sysconfig/ -cat > ifconfig.eth0 << "EOF" -ONBOOT=yes -IFACE=eth0 -SERVICE=ipv4-static -IP=192.168.1.2 -GATEWAY=192.168.1.1 -PREFIX=24 -BROADCAST=192.168.1.255 +cat > ifconfig.eth0 << "EOF" +ONBOOT=yes +IFACE=eth0 +SERVICE=ipv4-static +IP=192.168.1.2 +GATEWAY=192.168.1.1 +PREFIX=24 +BROADCAST=192.168.1.255 EOF - The values of these variables must be changed in every file to match + The values in italics must be changed in every file to match the proper setup. If the ONBOOT variable is set to yes the @@ -71,7 +71,7 @@ EOF The IFACE variable defines the interface name, for example, eth0. It is required for all network device configuration - files. + files. The filename extension must match this value. The SERVICE variable defines the method used for obtaining the IP address. The LFS-Bootscripts package has a modular IP -- cgit v1.2.3-54-g00ecf