vagrant box保存路徑修改

add box的時候默認保存在 C:\Users\xxx\.vagrant.dui

 VAGRANT_HOME can be set to change the directory where Vagrant stores global state. By default, this is set to ~/.vagrant.d. The Vagrant home directory is where things such as boxes are stored, so it can actually become quite large on disk.this

 

 經過設置VAGRANT_HOME環境變量改變默認位置vagrant

setx VAGRANT_HOME "X:/your/path"
setx VAGRANT_HOME "X:/your/path" /M (系統變量)
相關文章
相關標籤/搜索