From 8d3044edc83e106f3c8b4d33ef7c661df7664643 Mon Sep 17 00:00:00 2001 From: Alexey Rogachevskiy Date: Mon, 24 Feb 2020 18:23:47 +0300 Subject: [PATCH] scripts: Use open-vm-tools instead of VB Guest Additions As of v6.1.2, Virtualbox still could not get its act together and provide working GPU virtualization. Thankfully, OVF/OVA images are easily importable for VMware Workstation/Player, and GPU works much better there. Thus, there is no reason to install Virtualbox guest additions, and having open-vm-tools preinstalled will result in a better VMware player user experience. --- base_vm.json | 2 +- scripts/installGuestAdditions.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/base_vm.json b/base_vm.json index 88e6308..b42d7d1 100644 --- a/base_vm.json +++ b/base_vm.json @@ -9,7 +9,7 @@ "vm_name": "{{user `vm-name`}}", "guest_os_type": "Ubuntu_64", "format": "ova", - "guest_additions_mode": "upload", + "guest_additions_mode": "disable", "disk_size": "30000", "hard_drive_interface": "sata", "vboxmanage": [ diff --git a/scripts/installGuestAdditions.sh b/scripts/installGuestAdditions.sh index 657c75e..ae357a8 100644 --- a/scripts/installGuestAdditions.sh +++ b/scripts/installGuestAdditions.sh @@ -2,6 +2,5 @@ sudo apt update sudo apt install -y build-essential make perl -sudo mount -o loop,ro /home/clever/VBoxGuestAdditions.iso /mnt -sudo /mnt/VBoxLinuxAdditions.run -sudo umount /mnt +# virtualbox is still terrible, let's target vmware +sudo apt install -y open-vm-tools