VAGRANT: How to update VirtualBox Guest Additions with Vagrant
vagrant init centos/7
vagrant up
vagrant ssh
sudo yum -y update
sudo yum -y install wget gcc make
cd /opt
VERSION=5.1.10
sudo wget -c http://download.virtualbox.org/virtualbox/$VERSION/VBoxGuestAdditions_$VERSION.iso \
-O VBoxGuestAdditions_$VERSION.iso
sudo mount VBoxGuestAdditions_$VERSION.iso -o loop /mnt
cd /mnt
sudo sh VBoxLinuxAdditions.run --nox11
cd /opt
sudo rm *.iso
sudo /etc/init.d/vboxadd setup
sudo chkconfig --add vboxadd
sudo chkconfig vboxadd on
exit
vagrant reload