summaryrefslogtreecommitdiff
path: root/tests/storagevolxml2xmlin/vol-luks.xml
blob: 9ab1429e65d7677996c8aaf51add8c63fafe1d73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<volume>
  <name>LuksDemo.img</name>
  <key>/var/lib/libvirt/images/LuksDemo.img</key>
  <source>
  </source>
  <capacity unit="G">5</capacity>
  <allocation>294912</allocation>
  <target>
    <path>/var/lib/libvirt/images/LuksDemo.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='f52a81b2-424e-490c-823d-6bd4235bc572'/>
    </encryption>
  </target>
</volume>