mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

97ae69
From e4983bad21c2d188d1fb7d7e4cd4d58df1df74ae 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
97ae69
index 4a7447fe1..7588fbf8e 100644
46ce2f
--- a/v2v/convert_linux.ml
46ce2f
+++ b/v2v/convert_linux.ml
97ae69
@@ -352,6 +352,7 @@ let 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.
97ae69
@@ -373,6 +374,8 @@ let 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
-- 
c71420
2.20.1
46ce2f