1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-22 12:35:17 +00:00

5 lines
178 B
Plaintext
Raw Normal View History

qemu-img create -f luks \
--object secret,id=LuksDemo.img_encrypt0,file=/path/to/secretFile \
-o key-secret=LuksDemo.img_encrypt0 \
/var/lib/libvirt/images/LuksDemo.img 5242880K