diff --git a/chapter07/clock.xml b/chapter07/clock.xml index 7e6a91610..1c9542166 100644 --- a/chapter07/clock.xml +++ b/chapter07/clock.xml @@ -36,7 +36,7 @@ Create the /etc/adjtime file with the following contents if your hardware clock is set to local time: -cat > /etc/adjtime << "EOF" +cat > /etc/adjtime << "EOF" 0.0 0 0.0 0 LOCAL diff --git a/chapter07/consoled.xml b/chapter07/consoled.xml index c1bbf649e..d9ea00ab1 100644 --- a/chapter07/consoled.xml +++ b/chapter07/consoled.xml @@ -75,8 +75,10 @@ An example for a German keyboard and console is given below: - -cat > /etc/vconsole.conf << "EOF" + +cat > /etc/vconsole.conf << "EOF" KEYMAP=de-latin1 FONT=Lat2-Terminus16 EOF diff --git a/chapter07/network.xml b/chapter07/network.xml index b5202fb62..601c7e074 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -46,7 +46,8 @@ The following command creates a sample file for the eth0 device with a static IP address: - + cd /etc/sysconfig/ cat > ifconfig.eth0 << "EOF" ONBOOT=yes diff --git a/chapter07/networkd.xml b/chapter07/networkd.xml index b446986fa..83b99a1ea 100644 --- a/chapter07/networkd.xml +++ b/chapter07/networkd.xml @@ -111,10 +111,11 @@ EOF The command below creates a basic configuration file for a Static IP setup (using both systemd-networkd and systemd-resolved): - + cat > /etc/systemd/network/10-eth-static.network << "EOF" [Match] -Name=<network-device-name> +Name=<network-device-name> [Network] Address=192.168.0.2/24 diff --git a/chapter07/usage.xml b/chapter07/usage.xml index bce0c781f..b160ff368 100644 --- a/chapter07/usage.xml +++ b/chapter07/usage.xml @@ -489,8 +489,9 @@ EOF The following is a Unicode-enabled example for Bulgarian, where a stock UTF-8 keymap exists: - -cat > /etc/sysconfig/console << "EOF" + +cat > /etc/sysconfig/console << "EOF" # Begin /etc/sysconfig/console UNICODE="1"