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

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