mirror of https://gitee.com/openkylin/libvirt.git
22 lines
583 B
XML
22 lines
583 B
XML
<volume>
|
|
<name>encrypt2.img</name>
|
|
<key>/var/lib/libvirt/images/encrypt2.img</key>
|
|
<source>
|
|
</source>
|
|
<capacity unit="G">5</capacity>
|
|
<allocation>294912</allocation>
|
|
<target>
|
|
<path>/var/lib/libvirt/images/encrypt2.img</path>
|
|
<format type='raw'/>
|
|
<permissions>
|
|
<mode>0644</mode>
|
|
<owner>0</owner>
|
|
<group>0</group>
|
|
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
|
</permissions>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' uuid='e78d4b51-a2af-485f-b0f5-afca709af480'/>
|
|
</encryption>
|
|
</target>
|
|
</volume>
|