diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2017-03-04 10:02:04 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2017-03-04 10:02:04 +0000 |
commit | 4139f87eae9f7e54cf6b019b16f48f62bda5f3eb (patch) | |
tree | 8387215116da8c8ef34e052d879f644c8d8c10e9 /chapter07 | |
parent | 5fa3da5796f170cc7e0eba35b98760370383d3bf (diff) |
Adapt "General Network Configuration" for systemd to jhalfs
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11202 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/networkd.xml | 10 |
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 > /etc/systemd/network/10-eth0-static.network << "EOF" +<screen><userinput>cat > /etc/systemd/network/10-eth0-static.network << "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 > /etc/hosts << "EOF" +<screen role="nodump"><userinput>cat > /etc/hosts << "EOF" <literal># Begin /etc/hosts 127.0.0.1 <replaceable><HOSTNAME.example.org></replaceable> <replaceable><HOSTNAME></replaceable> localhost <replaceable>[alias1] [alias2] ...</replaceable> |