libvirt/tests/storagevolxml2argvdata/luks-cipher.argv
John Ferlan 23e9aa7297 tests: Add luks creation examples to storagevolxml2argvtest
Add the storagevolxml2xmltest "luks" and "luks-cipher" tests
to the storagevolxml2argvtest.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
2018-06-26 14:02:43 -04:00

6 lines
275 B
Plaintext

qemu-img create -f luks \
--object secret,id=LuksDemo.img_encrypt0,file=/path/to/secretFile \
-o key-secret=LuksDemo.img_encrypt0,cipher-alg=serpent-256,cipher-mode=cbc,\
hash-alg=sha256,ivgen-alg=plain64,ivgen-hash-alg=sha256 \
/var/lib/libvirt/images/LuksDemo.img 5242880K