Great! Thank you. I also wasn't sure it would work, but looks like this github gist that does exactly what I needed has plenty of satisfied users/forks:
https://gist.github.com/michaelklapper/4943139 Quoting the gist: Reconfigure VirtualBox and Vagrant home directory for Windows Set > VirtualBox home directory to: C:\VMs Store vagrant boxes: C:\VMs\vagrant.d > > # 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" On Tuesday, March 10, 2020 at 6:32:12 PM UTC-4, barry higgins wrote: > > I'd like to conserve storage space for multiple users downloading the same > vagrant boxes. Normally, each user will have a .vagrant.d directory in the > home directory, and the .vagrant.d directory will have the downloaded box. > So if I have 2 users on a linux host, and each user runs `vagrant box add > "hashicorp/bionic64"`, then there will be two copies of the > hashicorp/bionic64 box on the system. My goal is to have a central location > on the system so that if two users run `vagrant box add > "hashicorp/bionic64"`, only one copy will be saved on disk (and downloaded). > > Thanks. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a2adde10-8a34-4c1b-87d7-c330fbdded39%40googlegroups.com.
