Blame SOURCES/0044-RHEL-7-v2v-disable-unconfig-of-manually-installed-VM.patch

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