Blame SOURCES/0017-convert-document-networking-dependency-of-key-ID-cle.patch

c1a9fa
From 81a201269e5451cd76348e0da6d0ef4c0fb4c0dd Mon Sep 17 00:00:00 2001
c1a9fa
From: Laszlo Ersek <lersek@redhat.com>
c1a9fa
Date: Fri, 1 Jul 2022 15:30:42 +0200
c1a9fa
Subject: [PATCH] convert: document networking dependency of "--key ID:clevis"
c1a9fa
c1a9fa
Virt-v2v enables appliance networking already, for the sake of
c1a9fa
"unconfigure_vmware". We now have a second use case for networking: "--key
c1a9fa
ID:clevis". Update the comment in the code.
c1a9fa
c1a9fa
(Short log for libguestfs-common commit range 35467027f657..af6cb55bc58a:
c1a9fa
c1a9fa
Laszlo Ersek (12):
c1a9fa
      options: fix UUID comparison logic bug in get_keys()
c1a9fa
      mltools/tools_utils: remove unused function "key_store_to_cli"
c1a9fa
      mltools/tools_utils: allow multiple "--key" options for OCaml tools too
c1a9fa
      options: replace NULL-termination with number-of-elements in get_keys()
c1a9fa
      options: wrap each passphrase from get_keys() into a struct
c1a9fa
      options: add back-end for LUKS decryption with Clevis+Tang
c1a9fa
      options: introduce selector type "key_clevis"
c1a9fa
      options: generalize "--key" selector parsing for C-language utilities
c1a9fa
      mltools/tools_utils-c: handle internal type error with abort()
c1a9fa
      mltools/tools_utils: generalize "--key" selector parsing for OCaml utils
c1a9fa
      options, mltools/tools_utils: parse "--key ID:clevis" options
c1a9fa
      options, mltools/tools_utils: add helper for network dependency
c1a9fa
).
c1a9fa
c1a9fa
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1809453
c1a9fa
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
c1a9fa
Message-Id: <20220628115856.5820-1-lersek@redhat.com>
c1a9fa
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
c1a9fa
(cherry picked from commit 98fa5ab2685371c681282ce5de704877af27be74)
c1a9fa
---
c1a9fa
 convert/convert.ml | 3 ++-
c1a9fa
 1 file changed, 2 insertions(+), 1 deletion(-)
c1a9fa
c1a9fa
diff --git a/convert/convert.ml b/convert/convert.ml
c1a9fa
index 5e0e6c2b..b678dc92 100644
c1a9fa
--- a/convert/convert.ml
c1a9fa
+++ b/convert/convert.ml
c1a9fa
@@ -57,7 +57,8 @@ let rec convert dir options source =
c1a9fa
    * sure this is not too large because each vCPU consumes guest RAM.
c1a9fa
    *)
c1a9fa
   g#set_smp (min 8 (Sysconf.nr_processors_online ()));
c1a9fa
-  (* The network is only used by the unconfigure_vmware () function. *)
c1a9fa
+  (* The network is used by the unconfigure_vmware () function, and the "--key
c1a9fa
+   * ID:clevis" command line options (if any). *)
c1a9fa
   g#set_network true;
c1a9fa
   List.iter (
c1a9fa
     fun { s_disk_id = i } ->