[Libguestfs] [PATCH] v2v: skip decryption of VM disks
Maxim Davydov
maxim.davydov at virtuozzo.com
Mon Dec 13 08:12:03 UTC 2021
Hello,
I used virt-v2v 1.40.2
Best regards,
Maxim Davydov
________________________________
От: Richard W.M. Jones <rjones at redhat.com>
Отправлено: 12 декабря 2021 г. 0:47
Кому: Maxim Davydov <maxim.davydov at virtuozzo.com>
Копия: libguestfs at redhat.com <libguestfs at redhat.com>; Denis Lunev <den at virtuozzo.com>; rvkagan at yandex-team.ru <rvkagan at yandex-team.ru>
Тема: Re: [PATCH] v2v: skip decryption of VM disks
On Sun, Dec 12, 2021 at 12:22:42AM +0300, Maxim Davydov wrote:
> In some situations, we want to be able to skip an encrypted disk
> automatically, without waiting for a passphrase from the user for this
> disk. For instance, it maybe be required by hosting service providers that
> use automatic guest reconfiguration but cannot have passphrases for
> encrypted guest disks. So this option can be part of "--in-place" because
> it is usually used in automatic mode. But this feature can also be
> implemented as a separate command line option, for example,
> "--skip-encrypt"
>
> Signed-off-by: Maxim Davydov <maxim.davydov at virtuozzo.com>
> ---
> v2v/v2v.ml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/v2v/v2v.ml b/v2v/v2v.ml
> index 68817da04..052c9f3ed 100644
> --- a/v2v/v2v.ml
> +++ b/v2v/v2v.ml
> @@ -105,7 +105,7 @@ let rec main () =
> g#launch ();
>
> (* Decrypt the disks. *)
> - inspect_decrypt g cmdline.ks;
> + if not cmdline.in_place then inspect_decrypt g cmdline.ks;
>
> (* Inspection - this also mounts up the filesystems. *)
> (match conversion_mode with
Hello Maxim, which version of virt-v2v would this be applied to?
I have (temporarily) disabled in-place conversions upstream but
intend to re-enable it soon, before 2.0 is released.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20211213/bf3207d2/attachment.htm>
More information about the Libguestfs
mailing list