Files
vms/distros/centos-stream/8/virtualbox.sh
T

10 lines
337 B
Bash
Raw Normal View History

2023-08-22 00:18:02 -05:00
#!/usr/bin/env bash
set -ex
2023-08-24 23:01:32 -05:00
packages="gcc make bzip2 kernel-devel elfutils-libelf-devel"
2023-08-22 00:18:02 -05:00
dnf install -y ${packages} # Intentionally not quoted
mount -t auto /home/vagrant/VBoxGuestAdditions.iso /mnt
2023-08-24 23:01:32 -05:00
/mnt/VBoxLinuxAdditions.run install --nox11 2>&1 | tee /root/vbox_addon_install.log
2023-08-22 00:18:02 -05:00
umount /mnt
rm /home/vagrant/VBoxGuestAdditions.iso