mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

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