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.
This commit is contained in:
Pino Toscano
2018-10-04 10:48:17 +02:00
parent caff0ba3ad
commit 2bebacf8bf

View File

@@ -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