From 4139f87eae9f7e54cf6b019b16f48f62bda5f3eb Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 4 Mar 2017 10:02:04 +0000 Subject: Adapt "General Network Configuration" for systemd to jhalfs git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11202 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/networkd.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chapter07') 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] ... -- cgit v1.2.3-54-g00ecf