mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 03:21:19 +00:00
locking-sanlock.html.in: Kill useless spaces in <pre/>
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>
This commit is contained in:
parent
039c9d5ac7
commit
7c67aee258
@ -23,8 +23,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ su - root
|
$ su - root
|
||||||
# yum install libvirt-lock-sanlock
|
# yum install libvirt-lock-sanlock
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -37,9 +37,9 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ su - root
|
$ su - root
|
||||||
# chkconfig wdmd on
|
# chkconfig wdmd on
|
||||||
# service wdmd start
|
# service wdmd start
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -48,8 +48,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
# chkconfig sanlock on
|
# chkconfig sanlock on
|
||||||
# service sanlock start
|
# service sanlock start
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
SANLOCKOPTS="-w 0"
|
SANLOCKOPTS="-w 0"
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -82,8 +82,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ su - root
|
$ su - root
|
||||||
# augtool -s set /files/etc/libvirt/qemu-sanlock.conf/host_id 1
|
# augtool -s set /files/etc/libvirt/qemu-sanlock.conf/host_id 1
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -104,9 +104,9 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ su - root
|
$ su - root
|
||||||
# echo "some.nfs.server:/export/sanlock /var/lib/libvirt/sanlock nfs hard,nointr 0 0" >> /etc/fstab
|
# echo "some.nfs.server:/export/sanlock /var/lib/libvirt/sanlock nfs hard,nointr 0 0" >> /etc/fstab
|
||||||
# mount /var/lib/libvirt/sanlock
|
# mount /var/lib/libvirt/sanlock
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -121,8 +121,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
augtool -s set /files/etc/libvirt/qemu-sanlock.conf/user sanlock
|
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/group sanlock
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -168,9 +168,9 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ su - root
|
$ su - root
|
||||||
# augtool -s set /files/etc/libvirt/qemu.conf/lock_manager sanlock
|
# augtool -s set /files/etc/libvirt/qemu.conf/lock_manager sanlock
|
||||||
# service libvirtd restart
|
# service libvirtd restart
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -180,8 +180,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
# ls /var/lib/libvirt/sanlock/
|
# ls /var/lib/libvirt/sanlock/
|
||||||
__LIBVIRT__DISKS__
|
__LIBVIRT__DISKS__
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user