libguestfs/SOURCES/0076-RHEL-8-v2v-disable-unc...

37 lines
1.1 KiB
Diff

From aabd2d506e60d0b7bb69fb7582ae1b4ecb8f19e6 Mon Sep 17 00:00:00 2001
From: Pino Toscano <ptoscano@redhat.com>
Date: Mon, 14 Aug 2017 10:02:13 +0200
Subject: [PATCH] RHEL 8: v2v: disable unconfig of manually installed VMware
tools (RHBZ#1477905)
It looks like they may require connection to the VMware servers, which
is not always available during conversion.
---
v2v/convert_linux.ml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index da06352a0..c9cf99570 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -359,6 +359,7 @@ let convert (g : G.guestfs) inspect source output rcaps =
let remove = !remove in
Linux.remove g inspect remove;
+(*
(* VMware Tools may have been installed from a tarball, so the
* above code won't remove it. Look for the uninstall tool and run
* if present.
@@ -380,6 +381,8 @@ let convert (g : G.guestfs) inspect source output rcaps =
warning (f_"VMware tools was detected, but uninstallation failed. The error message was: %s (ignored)")
msg
)
+*)
+ ()
and unconfigure_citrix () =
let pkgs =
--
2.21.0