mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0075-RHEL-8-v2v-disable-unconfig-of-manually-installed-VM.patch

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