I want to move Vagrant off my machine to an external hard drive.
Following these articles:
vagrant.d outside of the home folder
http://emptysqua.re/blog/moving-virtualbox-and-vagrant-to-an-external-drive/
which is pretty straightforward, I assumed that all subsequent vagrant boxes would look to my new path /Volumes/Vagrant/vagrant_home
but this isn't the case.
Exporting VAGRANT_HOME
seems to not work as per the guide; it seems in my case the environmental variable is ignored. According to shared_helpers.rb
if VAGRANT_HOME
is not found it will default to ~/.vagrant.d
which in my case is what is happening. It's actually recreating /Users/jeitnier/.vagrant.d
. Any new boxes are being created there instead of my VAGRANT_HOME
path. It is defined in my .bash_profile
and I also did the export from the command-line, again as the docs demonstrate.
echo $VAGRANT_HOME
also shows the correct path of /Volumes/Vagrant/vagrant_home
which is why I'm really stumped.
What could be happening here?