aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/network.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index 7aa48a67a..be675ace3 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -36,6 +36,14 @@ network interface name (such as eth0 or eth0:1)</para>
<para><screen><userinput>mkdir /etc/sysconfig/network-devices</userinput></screen></para>
+<para>We also need to add this directory path to the /etc/sysconfig/rc file
+so that other scripts (like ifup and ifdown) know where this directory is
+located.</para>
+
+<para>Update the /etc/sysconfig/rc file by running:</para>
+
+<para><screen><userinput>echo "network_devices=/etc/sysconfig/network-devices" >> /etc/sysconfig/rc</userinput></screen></para>
+
<para>Now, new files are created in that directory containing the following.
The following command creates a sample ifconfig.eth0 file:</para>