Forked from michaelklapper/virtualbox_vagrant_home.bat
Created
December 6, 2019 14:52
-
-
Save duyhenryer/e8c8a828040745cbcb8dc72f0c2d3ce1 to your computer and use it in GitHub Desktop.
Reconfigure VirtualBox and Vagrant home directory for Windows Set VirtualBox home directory to:
C:\VMs Store vagrant boxes:
C:\VMs\vagrant.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# VirtualBox home directory. | |
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setproperty machinefolder "C:\VMs" | |
# Vagrant home directory for downloadad boxes. | |
REG ADD HKCU\Environment /v VAGRANT_HOME /t REG_SZ /d "C:\VMs\vagrant.d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment