[libvirt] [PATCH 21/24] locking-sanlock.html.in: Kill useless spaces in <pre/>

Michal Privoznik mprivozn at redhat.com
Mon Nov 14 09:34:07 UTC 2016


The <pre/> section is rendered as-is on the page. That is, if all
the lines are prefixed with 4 spaces the rendered page will also
have them. Problem is if we put a box around such <pre/> because
the content might not fix into it.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 docs/locking-sanlock.html.in | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/docs/locking-sanlock.html.in b/docs/locking-sanlock.html.in
index 84b1fb3..12fc3d7 100644
--- a/docs/locking-sanlock.html.in
+++ b/docs/locking-sanlock.html.in
@@ -23,8 +23,8 @@
     </p>
 
     <pre>
-      $ su - root
-      # yum install libvirt-lock-sanlock
+$ su - root
+# yum install libvirt-lock-sanlock
     </pre>
 
     <p>
@@ -37,9 +37,9 @@
     </p>
 
     <pre>
-      $ su - root
-      # chkconfig wdmd on
-      # service wdmd start
+$ su - root
+# chkconfig wdmd on
+# service wdmd start
     </pre>
 
     <p>
@@ -48,8 +48,8 @@
     </p>
 
     <pre>
-      # chkconfig sanlock on
-      # service sanlock start
+# chkconfig sanlock on
+# service sanlock start
     </pre>
 
     <p>
@@ -59,7 +59,7 @@
     </p>
 
     <pre>
-      SANLOCKOPTS="-w 0"
+SANLOCKOPTS="-w 0"
     </pre>
 
     <p>
@@ -82,8 +82,8 @@
     </p>
 
     <pre>
-      $ su - root
-      # augtool -s set /files/etc/libvirt/qemu-sanlock.conf/host_id 1
+$ su - root
+# augtool -s set /files/etc/libvirt/qemu-sanlock.conf/host_id 1
     </pre>
 
     <p>
@@ -104,9 +104,9 @@
     </p>
 
     <pre>
-      $ su - root
-      # echo "some.nfs.server:/export/sanlock /var/lib/libvirt/sanlock nfs hard,nointr 0 0" >> /etc/fstab
-      # mount /var/lib/libvirt/sanlock
+$ su - root
+# echo "some.nfs.server:/export/sanlock /var/lib/libvirt/sanlock nfs hard,nointr 0 0" >> /etc/fstab
+# mount /var/lib/libvirt/sanlock
     </pre>
 
     <p>
@@ -121,8 +121,8 @@
     </p>
 
     <pre>
-      augtool -s set /files/etc/libvirt/qemu-sanlock.conf/user sanlock
-      augtool -s set /files/etc/libvirt/qemu-sanlock.conf/group sanlock
+augtool -s set /files/etc/libvirt/qemu-sanlock.conf/user sanlock
+augtool -s set /files/etc/libvirt/qemu-sanlock.conf/group sanlock
     </pre>
 
     <p>
@@ -168,9 +168,9 @@
     </p>
 
     <pre>
-      $ su - root
-      # augtool -s  set /files/etc/libvirt/qemu.conf/lock_manager sanlock
-      # service libvirtd restart
+$ su - root
+# augtool -s  set /files/etc/libvirt/qemu.conf/lock_manager sanlock
+# service libvirtd restart
     </pre>
 
     <p>
@@ -180,8 +180,8 @@
     </p>
 
     <pre>
-      # ls /var/lib/libvirt/sanlock/
-      __LIBVIRT__DISKS__
+# ls /var/lib/libvirt/sanlock/
+__LIBVIRT__DISKS__
     </pre>
 
     <p>
-- 
2.8.4




More information about the libvir-list mailing list