|
From: | Sofia Enriquez |
Subject: | qemu-img commit an encrypted snapshot |
Date: | Mon, 27 Jan 2020 18:17:49 -0300 |
qemu-img commit -d /mnt/817322e72ebfe57/volume-213948924.snapshot431d-8942-0d1a01e0a346 --image-opts encrypt.key-secret=***
Stderr: "qemu-img: Expecting one image file name\nTry 'qemu-img --help' for more information\n"
But if I omit the encrypt.key-secret:
Stderr: "qemu-img: Could not open <path-to-snapshot>: Parameter 'encrypt.key-secret' is required for cipher\n"
I've read the documentation, and I thought that passing an object with the encryption key was going to help but same error:
qemu-img commit --object secret,id=secret,format=raw,file=/to/luks/data/luks_imm3k3im -d /mnt/89672ebfe57/volume-8509-929ad75134f4.snapshot4431d-8942-0d1a01e0a346 --image-opts encrypt.format=luks,file.filename=/mnt/89672ebfe57/volume-8509-929ad75134f4.snapshot4431d-8942-0d1a01e0a346,encrypt.key-secret=***
Stderr: "qemu-img: Expecting one image file name\nTry 'qemu-img --help' for more information\n"
I'm not sure what I should do to make this work. Hope someone could help me.
Sofia
L. Sofía Enriquez
she/her
Associate Software Engineer
IRC: @enriquetaso
[Prev in Thread] | Current Thread | [Next in Thread] |