mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-17 07:07:16 +00:00
storage.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
d0d1de0f2b
commit
5805492002
@ -135,12 +135,12 @@
|
|||||||
|
|
||||||
<h3>Example pool input definition</h3>
|
<h3>Example pool input definition</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="dir">
|
<pool type="dir">
|
||||||
<name>virtimages</name>
|
<name>virtimages</name>
|
||||||
<target>
|
<target>
|
||||||
<path>/var/lib/virt/images</path>
|
<path>/var/lib/virt/images</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -188,7 +188,7 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="fs">
|
<pool type="fs">
|
||||||
<name>virtimages</name>
|
<name>virtimages</name>
|
||||||
<source>
|
<source>
|
||||||
<device path="/dev/VolGroup00/VirtImages"/>
|
<device path="/dev/VolGroup00/VirtImages"/>
|
||||||
@ -196,7 +196,7 @@
|
|||||||
<target>
|
<target>
|
||||||
<path>/var/lib/virt/images</path>
|
<path>/var/lib/virt/images</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -261,7 +261,7 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="netfs">
|
<pool type="netfs">
|
||||||
<name>virtimages</name>
|
<name>virtimages</name>
|
||||||
<source>
|
<source>
|
||||||
<host name="nfs.example.com"/>
|
<host name="nfs.example.com"/>
|
||||||
@ -271,7 +271,7 @@
|
|||||||
<target>
|
<target>
|
||||||
<path>/var/lib/virt/images</path>
|
<path>/var/lib/virt/images</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -315,7 +315,7 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="logical">
|
<pool type="logical">
|
||||||
<name>HostVG</name>
|
<name>HostVG</name>
|
||||||
<source>
|
<source>
|
||||||
<device path="/dev/sda1"/>
|
<device path="/dev/sda1"/>
|
||||||
@ -325,7 +325,7 @@
|
|||||||
<target>
|
<target>
|
||||||
<path>/dev/HostVG</path>
|
<path>/dev/HostVG</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -352,7 +352,7 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="disk">
|
<pool type="disk">
|
||||||
<name>sda</name>
|
<name>sda</name>
|
||||||
<source>
|
<source>
|
||||||
<device path='/dev/sda'/>
|
<device path='/dev/sda'/>
|
||||||
@ -360,7 +360,7 @@
|
|||||||
<target>
|
<target>
|
||||||
<path>/dev</path>
|
<path>/dev</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -449,7 +449,7 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="iscsi">
|
<pool type="iscsi">
|
||||||
<name>virtimages</name>
|
<name>virtimages</name>
|
||||||
<source>
|
<source>
|
||||||
<host name="iscsi.example.com"/>
|
<host name="iscsi.example.com"/>
|
||||||
@ -458,7 +458,7 @@
|
|||||||
<target>
|
<target>
|
||||||
<path>/dev/disk/by-path</path>
|
<path>/dev/disk/by-path</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -482,7 +482,7 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="scsi">
|
<pool type="scsi">
|
||||||
<name>virtimages</name>
|
<name>virtimages</name>
|
||||||
<source>
|
<source>
|
||||||
<adapter name="host0"/>
|
<adapter name="host0"/>
|
||||||
@ -490,7 +490,7 @@
|
|||||||
<target>
|
<target>
|
||||||
<path>/dev/disk/by-path</path>
|
<path>/dev/disk/by-path</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -518,12 +518,12 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="mpath">
|
<pool type="mpath">
|
||||||
<name>virtimages</name>
|
<name>virtimages</name>
|
||||||
<target>
|
<target>
|
||||||
<path>/dev/mapper</path>
|
<path>/dev/mapper</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -558,7 +558,7 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="rbd">
|
<pool type="rbd">
|
||||||
<name>myrbdpool</name>
|
<name>myrbdpool</name>
|
||||||
<source>
|
<source>
|
||||||
<name>rbdpool</name>
|
<name>rbdpool</name>
|
||||||
@ -569,11 +569,11 @@
|
|||||||
<secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/>
|
<secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/>
|
||||||
</auth>
|
</auth>
|
||||||
</source>
|
</source>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Example volume output</h3>
|
<h3>Example volume output</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<volume>
|
<volume>
|
||||||
<name>myvol</name>
|
<name>myvol</name>
|
||||||
<key>rbd/myvol</key>
|
<key>rbd/myvol</key>
|
||||||
<source>
|
<source>
|
||||||
@ -589,7 +589,7 @@
|
|||||||
<group>0</group>
|
<group>0</group>
|
||||||
</permissions>
|
</permissions>
|
||||||
</target>
|
</target>
|
||||||
</volume></pre>
|
</volume></pre>
|
||||||
|
|
||||||
<h3>Example disk attachment</h3>
|
<h3>Example disk attachment</h3>
|
||||||
<p>RBD images can be attached to Qemu guests when Qemu is built
|
<p>RBD images can be attached to Qemu guests when Qemu is built
|
||||||
@ -622,17 +622,17 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="sheepdog">
|
<pool type="sheepdog">
|
||||||
<name>mysheeppool</name>
|
<name>mysheeppool</name>
|
||||||
<source>
|
<source>
|
||||||
<name>mysheeppool</name>
|
<name>mysheeppool</name>
|
||||||
<host name='localhost' port='7000'/>
|
<host name='localhost' port='7000'/>
|
||||||
</source>
|
</source>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Example volume output</h3>
|
<h3>Example volume output</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<volume>
|
<volume>
|
||||||
<name>myvol</name>
|
<name>myvol</name>
|
||||||
<key>sheep/myvol</key>
|
<key>sheep/myvol</key>
|
||||||
<source>
|
<source>
|
||||||
@ -648,7 +648,7 @@
|
|||||||
<group>0</group>
|
<group>0</group>
|
||||||
</permissions>
|
</permissions>
|
||||||
</target>
|
</target>
|
||||||
</volume></pre>
|
</volume></pre>
|
||||||
|
|
||||||
<h3>Example disk attachment</h3>
|
<h3>Example disk attachment</h3>
|
||||||
<p>Sheepdog images can be attached to Qemu guests.
|
<p>Sheepdog images can be attached to Qemu guests.
|
||||||
@ -707,14 +707,14 @@
|
|||||||
subdirectory relative to the gluster volume to use instead of
|
subdirectory relative to the gluster volume to use instead of
|
||||||
the top-level directory of the volume.</p>
|
the top-level directory of the volume.</p>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="gluster">
|
<pool type="gluster">
|
||||||
<name>myglusterpool</name>
|
<name>myglusterpool</name>
|
||||||
<source>
|
<source>
|
||||||
<name>volname</name>
|
<name>volname</name>
|
||||||
<host name='localhost'/>
|
<host name='localhost'/>
|
||||||
<dir path='/'/>
|
<dir path='/'/>
|
||||||
</source>
|
</source>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Example volume output</h3>
|
<h3>Example volume output</h3>
|
||||||
<p>Libvirt storage volumes associated with a gluster pool
|
<p>Libvirt storage volumes associated with a gluster pool
|
||||||
@ -726,14 +726,14 @@
|
|||||||
URI of the volume but it may be changed to a UUID of the volume
|
URI of the volume but it may be changed to a UUID of the volume
|
||||||
in the future.</p>
|
in the future.</p>
|
||||||
<pre>
|
<pre>
|
||||||
<volume>
|
<volume>
|
||||||
<name>myfile</name>
|
<name>myfile</name>
|
||||||
<key>gluster://localhost/volname/myfile</key>
|
<key>gluster://localhost/volname/myfile</key>
|
||||||
<source>
|
<source>
|
||||||
</source>
|
</source>
|
||||||
<capacity unit='bytes'>53687091200</capacity>
|
<capacity unit='bytes'>53687091200</capacity>
|
||||||
<allocation unit='bytes'>53687091200</allocation>
|
<allocation unit='bytes'>53687091200</allocation>
|
||||||
</volume></pre>
|
</volume></pre>
|
||||||
|
|
||||||
<h3>Example disk attachment</h3>
|
<h3>Example disk attachment</h3>
|
||||||
<p>Files within a gluster volume can be attached to Qemu guests.
|
<p>Files within a gluster volume can be attached to Qemu guests.
|
||||||
@ -773,14 +773,14 @@
|
|||||||
|
|
||||||
<h3>Example pool input</h3>
|
<h3>Example pool input</h3>
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="zfs">
|
<pool type="zfs">
|
||||||
<name>myzfspool</name>
|
<name>myzfspool</name>
|
||||||
<source>
|
<source>
|
||||||
<name>zpoolname</name>
|
<name>zpoolname</name>
|
||||||
<device path="/dev/ada1"/>
|
<device path="/dev/ada1"/>
|
||||||
<device path="/dev/ada2"/>
|
<device path="/dev/ada2"/>
|
||||||
</source>
|
</source>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3>Valid pool format types</h3>
|
<h3>Valid pool format types</h3>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user