From 2bebacf8bf611f0f80a66915f78653ce30b38129 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 4 Oct 2018 10:48:17 +0200 Subject: [PATCH] v2v: linux: remove open-vm-tools packages Linux distributions usually ship the open source VMware tools as open-vm-tools (and open-vm-tools-desktop for the integration with X). While they will not run already anymore after the conversion, uninstall them during the conversion, to save some space in the converted guest. --- v2v/convert_linux.ml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml index 726915875..c401b7f74 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -297,6 +297,10 @@ let convert (g : G.guestfs) inspect source output rcaps = List.push_front name remove else if String.is_prefix name "kmod-vmware-tools" then List.push_front name remove + else if String.is_prefix name "open-vm-tools-" then + List.push_front name remove + else if name = "open-vm-tools" then + List.push_front name remove ) inspect.i_apps; let libraries = !libraries in