Monday, February 5, 2018

store vagrant boxes in custom directory



By default vagrant stores  boxes here at ~/.vagrant.d/boxes

Sometimes, we want to make use of custom location instead of above.
you can make use of VAGRANT_HOME directory.



export VAGRANT_HOME=/path/to/yourown/location

You can make it permanent by adding the above in your bashrc file.

link: http://docs.vagrantup.com/v2/other/environmental-variables.html


No comments:

Post a Comment