Ignore:
Timestamp:
Jan 23, 2014, 1:32:51 PM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
88ad369
Parents:
40b9a5f
Message:

Move ifconfig.* config to /etc/sysconfig and remove /etc/sysconfig/network-devices.

Location:
BOOK/network/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/network/common/dhcp.xml

    r40b9a5f r415c62c  
    1515
    1616    <para>The following is an example for the eth0 interface. Create the
    17     <filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename>
     17    <filename>/etc/sysconfig/ifconfig.eth0</filename>
    1818    configuration file using the following commands. Adjust appropriately for
    1919    additional interfaces:</para>
    2020
    21 <screen><userinput>mkdir -pv /etc/sysconfig/network-devices &amp;&amp;
    22 cd /etc/sysconfig/network-devices &amp;&amp;
     21<screen><userinput>mkdir -pv /etc/sysconfig &amp;&amp;
     22cd /etc/sysconfig &amp;&amp;
    2323cat &gt; ifconfig.eth0 &lt;&lt; "EOF"
    2424<literal>SERVICE="dhcpcd"
  • BOOK/network/common/static.xml

    r40b9a5f r415c62c  
    1616    <para>Which interfaces are brought up and down by the network script
    1717    depends on the files and directories in the <filename
    18     class="directory">/etc/sysconfig/network-devices</filename> hierarchy.
     18    class="directory">/etc/sysconfig</filename> hierarchy.
    1919    This directory should contain a sub-directory for each interface to be
    2020    configured, such as <filename>ifconfig.xyz</filename>, where
     
    3636    file for the <emphasis>eth0</emphasis> device:</para>
    3737
    38 <screen><userinput>mkdir -pv /etc/sysconfig/network-devices &amp;&amp;
    39 cd /etc/sysconfig/network-devices &amp;&amp;
     38<screen><userinput>mkdir -pv /etc/sysconfig &amp;&amp;
     39cd /etc/sysconfig &amp;&amp;
    4040cat &gt; ifconfig.eth0 &lt;&lt; "EOF"
    4141<literal>IFACE="eth0"
Note: See TracChangeset for help on using the changeset viewer.