Hi all,
I'm looking at creating a Vagrant VM using a CI server with no internet connection. Or rather, the CI only has a connection to the internet via Artifactory, which is acting as a proxy for Yum packages and Vagrant boxes, including caching those files for reproducibility.
I'm trying to build a VM with centos/7 (v1801.02, Virtualbox) as a base image. I would also like to install VirtualBox Guest Additions, using the Vagrant plugin vagrant-vbguest.
I will include a sanitised Vagrantfile and build script as attachments for this process.
What I am trying to do is the following:
- Disable vagrant-vbguest
- Provision the VM
- Enable vagrant-vbguest
- Vagrant up again (to install Guest Additions)
- Export the VM
However, it seems that after provisioning the machine with the plugin disabled, re-enabling the plugin has no effect. How can I cause the above set of steps to occur?
Michael