aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter07/networkd.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter07/networkd.xml b/chapter07/networkd.xml
index fc7454678..2087bc70f 100644
--- a/chapter07/networkd.xml
+++ b/chapter07/networkd.xml
@@ -56,7 +56,7 @@
Static IP setup (using both systemd-networkd and
systemd-resolved):</para>
-<screen role="nodump"><userinput>cat &gt; /etc/systemd/network/10-eth0-static.network &lt;&lt; "EOF"
+<screen><userinput>cat &gt; /etc/systemd/network/10-eth0-static.network &lt;&lt; "EOF"
<literal>[Match]
Name=eth0
@@ -108,7 +108,7 @@ EOF</userinput></screen>
from the ISP or network administrator, into
<filename>/etc/resolv.conf</filename>.</para>
- <sect3 id="resolv-conf-systemd-resoloved">
+ <sect3 id="resolv-conf-systemd-resolved">
<title>systemd-resolved Configuration</title>
<note><para>If using another means to configure your network
@@ -121,9 +121,9 @@ EOF</userinput></screen>
<para>When using <command>systemd-resolved</command> for DNS
configuration, it creates the file
<filename>/run/systemd/resolve/resolv.conf</filename>. Create a
- symlink in <filename>/etc</filename> to use the generatd file:</para>
+ symlink in <filename>/etc</filename> to use the generated file:</para>
-<screen><userinput remap="install">ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf</userinput></screen>
+<screen><userinput>ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf</userinput></screen>
</sect3>
@@ -234,7 +234,7 @@ EOF</userinput></screen>
is not going to be configured, create the <filename>/etc/hosts</filename>
file by running the following command:</para>
-<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
+<screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
<literal># Begin /etc/hosts
127.0.0.1 <replaceable>&lt;HOSTNAME.example.org&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> localhost <replaceable>[alias1] [alias2] ...</replaceable>