Here’s what I did to investigate:
Uninstalled VB. Deleted conf folders from both Z and user folder
Installed and started VB. Changed VM folder to D. Created test VM.
Closed and reopened several times. VB correctly used VM in D and created
conf folder only in user folder.
Started vagrant. VB created new conf folder in Z and created VMs in Z.
Uninstalled both VB and Vagrant. Deleted all conf folders for both.
Installed and started VB. Changed VM folder to D. Created test VM.
Closed and reopened several times. VB correctly used VM in D and created
conf folder only in user folder.
Started vagrant. VB created new conf folder in Z and created VMs in Z.
Vagrant seems to make some kind of assumption no matter what the settings are. I cannot find anything in any vagrant file that tells it to use the Z path. There may be some way to set up but I can’t see it.
Update 1: I deleted my Z drive and restarted everything. It has not created any new VB config folders and it has put the VMs in the correct place on D.
VB behaves differently depending on what started it up. If I start the GUI up myself, it's using the conf from my home folder. If vagrant is already running a vm and I start the GUI, it is using the Z conf folder.
Update 2: I restarted my machine and restored the Z: drive. I started up
vagrant and it again created NEW duplicate VMs and conf folder in the Z
drive. So I have two workarounds:
Remove the Z drive permanently
Set both conf files to use the Z drive location for VMs and hope it doesn't create further duplicates elsewhere
Hi Simon,
Have you tried setting VBOX_USER_HOME to D:\VirtualBox?
HTH, Torben
--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'c:\Program Files\Oracle\VirtualBox\VBoxManage.exe setproperty machinefolder C:\VMs'