Move everything off of Ansible
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
packages="bzip2 dkms build-essential linux-headers-$(uname -r)"
|
||||
apt 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
|
||||
apt remove -y ${packages} # Also intentionally not quoted
|
||||
umount /mnt
|
||||
rm /home/vagrant/VBoxGuestAdditions.iso
|
||||
Reference in New Issue
Block a user