mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone
Blob Blame History Raw
From 8f6ea87fbc19896afbe0e1d0a8441d9283042bdc 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.20.1