diff --git a/extensions/vmware-vm.sh b/extensions/vmware-vm.sh new file mode 100644 index 000000000000..74948733fc1d --- /dev/null +++ b/extensions/vmware-vm.sh @@ -0,0 +1,13 @@ +enable_extension "image-output-ovf" # Enable the ovf+vmdk output image extension + +function extension_prepare_config__prepare_vmware_config() { + display_alert "Preparing VMWare extra packages..." "${EXTENSION}" "info" + # Add VMWare utilities, for all + add_packages_to_image open-vm-tools + + # If it's a desktop there's more + if [[ $BUILD_DESKTOP == yes ]]; then + display_alert "Preparing VMWare extra Desktop packages..." "${EXTENSION}" "info" + add_packages_to_image open-vm-tools-desktop xserver-xorg-video-vmware + fi +}