diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-14 11:50:55 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-09-14 11:52:01 +0800 |
commit | 2e9e5b43c5610c7eb39759717b9fe37dbb711975 (patch) | |
tree | 3155e3a4b1a0516669ee2f499e10ea09e5a0ef87 | |
parent | 95789f1ae44b1a2b033ea02ff8f463d1c406f0d9 (diff) |
add <literal> to make commands for temp /etc/hosts and final /etc/pip3.conf looking better
-rw-r--r-- | chapter07/createfiles.xml | 4 | ||||
-rw-r--r-- | chapter08/python.xml | 6 |
2 files changed, 5 insertions, 5 deletions
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:</para> <screen><userinput>cat > /etc/hosts << EOF -127.0.0.1 localhost $(hostname) -::1 localhost +<literal>127.0.0.1 localhost $(hostname) +::1 localhost</literal> EOF</userinput></screen> <para>In order for user <systemitem class="username">root</systemitem> 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:</para> - <screen><userinput remap="install">cat > /etc/pip.conf << EOF -[global] +<screen><userinput remap="install">cat > /etc/pip.conf << EOF +<literal>[global] root-user-action = ignore -disable-pip-version-check = true +disable-pip-version-check = true</literal> EOF </userinput></screen> <!-- |