diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml
index 314540e7e..ca7de3802 100644
--- a/chapter07/createfiles.xml
+++ b/chapter07/createfiles.xml
@@ -48,8 +48,8 @@
as well:
cat > /etc/hosts << EOF
-127.0.0.1 localhost $(hostname)
-::1 localhost
+127.0.0.1 localhost $(hostname)
+::1 localhost
EOF
In order for user root to be
diff --git a/chapter08/python.xml b/chapter08/python.xml
index 0f50bf6ef..b03817629 100644
--- a/chapter08/python.xml
+++ b/chapter08/python.xml
@@ -116,10 +116,10 @@
well. If desired, suppress these warnings by running the following
commands:
- cat > /etc/pip.conf << EOF
-[global]
+cat > /etc/pip.conf << EOF
+[global]
root-user-action = ignore
-disable-pip-version-check = true
+disable-pip-version-check = true
EOF