mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user