Changeset 4139f87


Ignore:
Timestamp:
03/04/2017 10:02:04 AM (7 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
945b760
Parents:
5fa3da5
Message:

Adapt "General Network Configuration" for systemd to jhalfs

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11202 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/networkd.xml

    r5fa3da5 r4139f87  
    5757      systemd-resolved):</para>
    5858
    59 <screen role="nodump"><userinput>cat &gt; /etc/systemd/network/10-eth0-static.network &lt;&lt; "EOF"
     59<screen><userinput>cat &gt; /etc/systemd/network/10-eth0-static.network &lt;&lt; "EOF"
    6060<literal>[Match]
    6161Name=eth0
     
    109109    <filename>/etc/resolv.conf</filename>.</para>
    110110
    111     <sect3 id="resolv-conf-systemd-resoloved">
     111    <sect3 id="resolv-conf-systemd-resolved">
    112112      <title>systemd-resolved Configuration</title>
    113113
     
    122122      configuration, it creates the file
    123123      <filename>/run/systemd/resolve/resolv.conf</filename>. Create a
    124       symlink in <filename>/etc</filename> to use the generatd file:</para>
    125 
    126 <screen><userinput remap="install">ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf</userinput></screen>
     124      symlink in <filename>/etc</filename> to use the generated file:</para>
     125
     126<screen><userinput>ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf</userinput></screen>
    127127
    128128    </sect3>
     
    235235     file by running the following command:</para>
    236236
    237 <screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
     237<screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
    238238<literal># Begin /etc/hosts
    239239
Note: See TracChangeset for help on using the changeset viewer.