]> xenbits.xensource.com Git - libvirt.git/commitdiff
locking-sanlock.html.in: Kill useless spaces in <pre/>
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Nov 2016 22:40:27 +0000 (23:40 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Nov 2016 10:03:34 +0000 (11:03 +0100)
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@redhat.com>
docs/locking-sanlock.html.in

index 84b1fb3f76987fc10a1ad15cf25b6cf3bb15094b..12fc3d72471271d34f05e0ec476037c987725000 100644 (file)
@@ -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>
     </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>
     </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>
     </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>
     </p>
 
     <pre>
-      # ls /var/lib/libvirt/sanlock/
-      __LIBVIRT__DISKS__
+# ls /var/lib/libvirt/sanlock/
+__LIBVIRT__DISKS__
     </pre>
 
     <p>