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): -cat > /etc/systemd/network/10-eth0-static.network << "EOF" +cat > /etc/systemd/network/10-eth0-static.network << "EOF" [Match] Name=eth0 @@ -108,7 +108,7 @@ EOF from the ISP or network administrator, into /etc/resolv.conf. - + systemd-resolved Configuration If using another means to configure your network @@ -121,9 +121,9 @@ EOF When using systemd-resolved for DNS configuration, it creates the file /run/systemd/resolve/resolv.conf. Create a - symlink in /etc to use the generatd file: + symlink in /etc to use the generated file: -ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf +ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf @@ -234,7 +234,7 @@ EOF is not going to be configured, create the /etc/hosts file by running the following command: -cat > /etc/hosts << "EOF" +cat > /etc/hosts << "EOF" # Begin /etc/hosts 127.0.0.1 <HOSTNAME.example.org> <HOSTNAME> localhost [alias1] [alias2] ...