From b209d8827ec91d378294d10dbd844a2f6b924dba Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 24 Nov 2022 12:48:00 +0100 Subject: [PATCH] armbian-next: `vmware-vm` core extension: enables `image-output-ovf` and adds some cli and desktop packages to image list --- extensions/vmware-vm.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extensions/vmware-vm.sh 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 +}