Displaying 2 results from an estimated 2 matches for "has_qemu_guest_ag".
2019 Sep 19
3
[PATCH 0/2] v2v: do not try to re-install qemu-guest-agent
In case qemu-guest-agent is already installed in the guest, do not try
to install it again from the RHV Tools ISO.
Pino Toscano (2):
v2v: linux: install linux tools after unconfigurations
v2v: linux: do not install qemu-guest-agent if already installed
v2v/convert_linux.ml | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
--
2.21.0
2019 Sep 19
0
[PATCH 2/2] v2v: linux: do not install qemu-guest-agent if already installed
..._linux.ml b/v2v/convert_linux.ml
index f02ba373e..484e387cc 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -493,7 +493,13 @@ let convert (g : G.guestfs) inspect source output rcaps =
)
and install_linux_tools () =
- Windows_virtio.install_linux_tools g inspect
+ let has_qemu_guest_agent =
+ List.exists (
+ fun { G.app2_name = name } ->
+ name = "qemu-guest-agent"
+ ) inspect.i_apps in
+ if not has_qemu_guest_agent then
+ Windows_virtio.install_linux_tools g inspect
and configure_kernel () =
(* Previously this function wou...