What happens to the .box file after the following command is executed?
vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
I can
To change the Path, you can set a new Path to an Enviroment-Variable named: VAGRANT_HOME
export VAGRANT_HOME=my/new/path/goes/here/
Thats maybe nice if you want to have those vagrant-Images on another HDD.
More Information here in the Documentations: http://docs.vagrantup.com/v2/other/environmental-variables.html
On Windows 10 with Vagrant 2.2.2, setting the environment variable VAGRANT_HOME
will ensure that boxes are downloaded to a subfolder of the folder specified for VAGRANT_HOME
.
In my case I set VAGRANT_HOME
to e:\vagrant_home
, and the boxes get stored under e:\vagrant_home\boxes
.
This works for me.
That's where the boxes are stored. The virtual machines are being created in the folder configured in Virtual Box. To set the VirtualBox VM storage folder, go to: VirtualBox GUI --> File --> Preferences --> General --> Default Machine Folder
.