mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 21:01:13 +00:00
6 lines
275 B
Plaintext
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
|