Changeset 1ecf563 for BOOK


Ignore:
Timestamp:
Aug 18, 2014, 3:57:02 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
f0b15e4
Parents:
782b8809
Message:

Use nodump to prevent jhalfs from processing network config commands

Location:
BOOK/network/common
Files:
7 edited

Legend:

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

    r782b8809 r1ecf563  
    3131    <para os="b">Prepare DHCPCD for compilation:</para>
    3232
    33 <screen os="c"><userinput>./configure --prefix=/usr --sbindir=/sbin \
     33<screen os="c" role="nodump"><userinput>./configure --prefix=/usr --sbindir=/sbin \
    3434    --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd</userinput></screen>
    3535
    3636    <para os="d">Compile the package:</para>
    3737
    38 <screen os="e"><userinput>make</userinput></screen>
     38<screen os="e" role="nodump"><userinput>make</userinput></screen>
    3939
    4040    <para os="f">This package does not come with a test suite.</para>
     
    4242    <para os="g">Install the package:</para>
    4343
    44 <screen os="h"><userinput>make install</userinput></screen>
     44<screen os="h" role="nodump"><userinput>make install</userinput></screen>
    4545
    4646  </sect2>
     
    5656    using the following commands. Adjust appropriately for additional options:</para>
    5757
    58 <screen><userinput>cd /etc &amp;&amp;
     58<screen role="nodump"><userinput>cd /etc &amp;&amp;
    5959cat &gt; dhcpcd.conf &lt;&lt; "EOF"
    6060<literal># dhcpcd configuration eth0 interface
  • BOOK/network/common/hostname.xml

    r782b8809 r1ecf563  
    2121  by running:</para>
    2222
    23   <screen><userinput>echo "<replaceable>[clfs]</replaceable>" &gt; /etc/hostname</userinput></screen>
     23  <screen role="nodump"><userinput>echo "<replaceable>[clfs]</replaceable>" &gt; /etc/hostname</userinput></screen>
    2424
    2525  <para><replaceable>[clfs]</replaceable> needs to be replaced with the
  • BOOK/network/common/hosts.xml

    r782b8809 r1ecf563  
    5353  <para>Create the <filename>/etc/hosts</filename> file by running:</para>
    5454
    55 <screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
     55<screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
    5656<literal># Begin /etc/hosts (network card version)
    5757
     
    7272  <filename>/etc/hosts</filename> file by running:</para>
    7373
    74 <screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
     74<screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
    7575<literal># Begin /etc/hosts (no network card version)
    7676
  • BOOK/network/common/network-scripts.xml

    r782b8809 r1ecf563  
    3434    <para>Install the package:</para>
    3535
    36 <screen><userinput remap="install">make install</userinput></screen>
     36<screen role="nodump"><userinput remap="install">make install</userinput></screen>
    3737
    3838  </sect2>
  • BOOK/network/common/resolv.xml

    r782b8809 r1ecf563  
    2727    file by running the following:</para>
    2828
    29 <screen><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
     29<screen role="nodump"><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
    3030<literal># Begin /etc/resolv.conf
    3131
  • BOOK/network/common/sysconfig-network.xml

    r782b8809 r1ecf563  
    3636    file for the <emphasis>eth0</emphasis> device:</para>
    3737
    38 <screen><userinput>mkdir -pv /etc/sysconfig &amp;&amp;
     38<screen role="nodump"><userinput>mkdir -pv /etc/sysconfig &amp;&amp;
    3939cd /etc/sysconfig &amp;&amp;
    4040cat &gt; ifconfig.eth0 &lt;&lt; "EOF"
  • BOOK/network/common/systemd-network.xml

    r782b8809 r1ecf563  
    3232      interface with a config file. Adjust Name= as required:</para>
    3333
    34   <screen><userinput>cd /etc/systemd/network &amp;&amp;
     34  <screen role="nodump"><userinput>cd /etc/systemd/network &amp;&amp;
    3535cat &gt; static.network &lt;&lt; "EOF"
    3636[Match]
     
    6666    with a config file. Adjust Name= as required:</para>
    6767
    68 <screen><userinput>cd /etc/systemd/network &amp;&amp;
     68<screen role="nodump"><userinput>cd /etc/systemd/network &amp;&amp;
    6969cat &gt; dhcp.network &lt;&lt; "EOF"
    7070[Match]
     
    8080    create a symlink:</para>
    8181
    82 <screen><userinput>ln -sv /run/systemd/network/resolv.conf /etc</userinput></screen>
     82<screen role="nodump"><userinput>ln -sv /run/systemd/network/resolv.conf /etc</userinput></screen>
    8383
    8484    </sect3>
     
    9494    user and group:</para>
    9595
    96 <screen><userinput>groupadd -g &gid-systemd-timesync; systemd-timesync
     96<screen role="nodump"><userinput>groupadd -g &gid-systemd-timesync; systemd-timesync
    9797useradd -g systemd-timesync -u &uid-systemd-timesync; -d /dev/null -s /bin/false systemd-timesync</userinput></screen>
    9898
     
    100100    it will run on system boot:</para>
    101101
    102 <screen><userinput>systemctl enable systemd-timesyncd</userinput></screen>
     102<screen role="nodump"><userinput>systemctl enable systemd-timesyncd</userinput></screen>
    103103
    104104    <para>You can configure <command>systemd-timesyncd</command> by editing
Note: See TracChangeset for help on using the changeset viewer.