Fix up virtualbox provider

This commit is contained in:
Greg Hellings
2023-08-24 23:01:32 -05:00
parent 18ff595f9b
commit 5be8095700
11 changed files with 16 additions and 17 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
#!/usr/bin/env bash
set -ex
packages="bzip2 dkms kernel-devel kernel-headers make perl gcc"
packages="bzip2 kernel-devel kernel-headers make perl gcc"
dnf install -y ${packages} # Intentionally not quoted
mount -t auto /home/vagrant/VBoxGuestAdditions.iso /mnt
/mnt/VBoxLinuxAdditions.run install 2>&1 | tee /root/vbox_addon_install.log
dnf uninstall -y ${packages} # Also intentionally not quoted
/mnt/VBoxLinuxAdditions.run install --nox11 2>&1 | tee /root/vbox_addon_install.log
umount /mnt
rm /home/vagrant/VBoxGuestAdditions.iso