mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 03:21:19 +00:00
formatstorage.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
2b05485f3e
commit
88af7cacd3
@ -31,7 +31,7 @@
|
|||||||
<h3><a name="StoragePoolFirst">General metadata</a></h3>
|
<h3><a name="StoragePoolFirst">General metadata</a></h3>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<pool type="iscsi">
|
<pool type="iscsi">
|
||||||
<name>virtimages</name>
|
<name>virtimages</name>
|
||||||
<uuid>3e3fce45-4f53-4fa7-bb32-11f34168b82b</uuid>
|
<uuid>3e3fce45-4f53-4fa7-bb32-11f34168b82b</uuid>
|
||||||
<allocation>10000000</allocation>
|
<allocation>10000000</allocation>
|
||||||
@ -75,8 +75,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<source>
|
<source>
|
||||||
<host name="iscsi.example.com"/>
|
<host name="iscsi.example.com"/>
|
||||||
<device path="iqn.2013-06.com.example:iscsi-pool"/>
|
<device path="iqn.2013-06.com.example:iscsi-pool"/>
|
||||||
<auth type='chap' username='myname'>
|
<auth type='chap' username='myname'>
|
||||||
@ -84,41 +84,41 @@
|
|||||||
</auth>
|
</auth>
|
||||||
<vendor name="Acme"/>
|
<vendor name="Acme"/>
|
||||||
<product name="model"/>
|
<product name="model"/>
|
||||||
</source>
|
</source>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<source>
|
<source>
|
||||||
<device path='/dev/mapper/mpatha' part_separator='no'/>
|
<device path='/dev/mapper/mpatha' part_separator='no'/>
|
||||||
<format type='gpt'/>
|
<format type='gpt'/>
|
||||||
</source>
|
</source>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<source>
|
<source>
|
||||||
<adapter type='scsi_host' name='scsi_host1'/>
|
<adapter type='scsi_host' name='scsi_host1'/>
|
||||||
</source>
|
</source>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<source>
|
<source>
|
||||||
<adapter type='scsi_host'>
|
<adapter type='scsi_host'>
|
||||||
<parentaddr unique_id='1'>
|
<parentaddr unique_id='1'>
|
||||||
<address domain='0x0000' bus='0x00' slot='0x1f' addr='0x2'/>
|
<address domain='0x0000' bus='0x00' slot='0x1f' addr='0x2'/>
|
||||||
</parentaddr>
|
</parentaddr>
|
||||||
</adapter>
|
</adapter>
|
||||||
</source>
|
</source>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<source>
|
<source>
|
||||||
<adapter type='fc_host' parent='scsi_host5' wwnn='20000000c9831b4b' wwpn='10000000c9831b4b'/>
|
<adapter type='fc_host' parent='scsi_host5' wwnn='20000000c9831b4b' wwpn='10000000c9831b4b'/>
|
||||||
</source>
|
</source>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><code>device</code></dt>
|
<dt><code>device</code></dt>
|
||||||
@ -405,7 +405,7 @@
|
|||||||
...
|
...
|
||||||
</encryption>
|
</encryption>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><code>path</code></dt>
|
<dt><code>path</code></dt>
|
||||||
@ -494,7 +494,7 @@
|
|||||||
<h3><a name="StorageVolFirst">General metadata</a></h3>
|
<h3><a name="StorageVolFirst">General metadata</a></h3>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<volume type='file'>
|
<volume type='file'>
|
||||||
<name>sparse.img</name>
|
<name>sparse.img</name>
|
||||||
<key>/var/lib/xen/images/sparse.img</key>
|
<key>/var/lib/xen/images/sparse.img</key>
|
||||||
<allocation>0</allocation>
|
<allocation>0</allocation>
|
||||||
@ -575,8 +575,8 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
...
|
...
|
||||||
<target>
|
<target>
|
||||||
<path>/var/lib/virt/images/sparse.img</path>
|
<path>/var/lib/virt/images/sparse.img</path>
|
||||||
<format type='qcow2'/>
|
<format type='qcow2'/>
|
||||||
<permissions>
|
<permissions>
|
||||||
@ -590,7 +590,7 @@
|
|||||||
<features>
|
<features>
|
||||||
<lazy_refcounts/>
|
<lazy_refcounts/>
|
||||||
</features>
|
</features>
|
||||||
</target></pre>
|
</target></pre>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><code>path</code></dt>
|
<dt><code>path</code></dt>
|
||||||
@ -676,7 +676,7 @@
|
|||||||
<label>virt_image_t</label>
|
<label>virt_image_t</label>
|
||||||
</permissions>
|
</permissions>
|
||||||
</backingStore>
|
</backingStore>
|
||||||
</volume></pre>
|
</volume></pre>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><code>path</code></dt>
|
<dt><code>path</code></dt>
|
||||||
@ -711,17 +711,17 @@
|
|||||||
<h3><a name="exampleFile">File based storage pool</a></h3>
|
<h3><a name="exampleFile">File based storage pool</a></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><a name="exampleISCSI">iSCSI based storage pool</a></h3>
|
<h3><a name="exampleISCSI">iSCSI based storage pool</a></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"/>
|
||||||
@ -733,12 +733,12 @@
|
|||||||
<target>
|
<target>
|
||||||
<path>/dev/disk/by-path</path>
|
<path>/dev/disk/by-path</path>
|
||||||
</target>
|
</target>
|
||||||
</pool></pre>
|
</pool></pre>
|
||||||
|
|
||||||
<h3><a name="exampleVol">Storage volume</a></h3>
|
<h3><a name="exampleVol">Storage volume</a></h3>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<volume>
|
<volume>
|
||||||
<name>sparse.img</name>
|
<name>sparse.img</name>
|
||||||
<allocation>0</allocation>
|
<allocation>0</allocation>
|
||||||
<capacity unit="T">1</capacity>
|
<capacity unit="T">1</capacity>
|
||||||
@ -751,12 +751,12 @@
|
|||||||
<label>virt_image_t</label>
|
<label>virt_image_t</label>
|
||||||
</permissions>
|
</permissions>
|
||||||
</target>
|
</target>
|
||||||
</volume></pre>
|
</volume></pre>
|
||||||
|
|
||||||
<h3><a name="exampleLuks">Storage volume using LUKS</a></h3>
|
<h3><a name="exampleLuks">Storage volume using LUKS</a></h3>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<volume>
|
<volume>
|
||||||
<name>MyLuks.img</name>
|
<name>MyLuks.img</name>
|
||||||
<capacity unit="G">5</capacity>
|
<capacity unit="G">5</capacity>
|
||||||
<target>
|
<target>
|
||||||
@ -766,7 +766,7 @@
|
|||||||
<secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
|
<secret type='passphrase' uuid='f52a81b2-424e-490c-823d-6bd4235bc572'/>
|
||||||
</encryption>
|
</encryption>
|
||||||
</target>
|
</target>
|
||||||
</volume>
|
</volume>
|
||||||
</pre>
|
</pre>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user