Changeset 4139f87
- Timestamp:
- 03/04/2017 10:02:04 AM (7 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/networkd.xml
r5fa3da5 r4139f87 57 57 systemd-resolved):</para> 58 58 59 <screen role="nodump"><userinput>cat > /etc/systemd/network/10-eth0-static.network << "EOF"59 <screen><userinput>cat > /etc/systemd/network/10-eth0-static.network << "EOF" 60 60 <literal>[Match] 61 61 Name=eth0 … … 109 109 <filename>/etc/resolv.conf</filename>.</para> 110 110 111 <sect3 id="resolv-conf-systemd-resol oved">111 <sect3 id="resolv-conf-systemd-resolved"> 112 112 <title>systemd-resolved Configuration</title> 113 113 … … 122 122 configuration, it creates the file 123 123 <filename>/run/systemd/resolve/resolv.conf</filename>. Create a 124 symlink in <filename>/etc</filename> to use the generat d 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> 127 127 128 128 </sect3> … … 235 235 file by running the following command:</para> 236 236 237 <screen ><userinput>cat > /etc/hosts << "EOF"237 <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" 238 238 <literal># Begin /etc/hosts 239 239
Note:
See TracChangeset
for help on using the changeset viewer.