Hello,
there is no problem moving the default path of the virtualbox machines
This issue happen when you are on the same location? I mean, when you
are at home/vpn/office ? or happen when you move change locations?
I ask because the windows HOME folder may change depending on domain,
vpn, location, etc.. (some admin are very creative people)
so, the process goes like this.
your HOME is usually c:\users\alvaro
inside this home Virtualbox create 2 folder, one for virtualbox
configuration, and other for virtualbox VM
vagrant in the home, create a folder too .vagrant.d
so, if your HOME folder change, the whole thing gets unconsistent
Say you use C:\VirtualBoxVMs\ for virtualbox
and C:\Hashicorp\Vagrant_home for vagrant
you should be able to do this
cd c:\project\folder
set VBOX_USER_HOME="C:\VirtualBoxVMs"
"C:\program files\oracle\virtualbox\VBoxManage.exe" setproperty
machinefolder C:\VirtualBoxVMs
set VAGRANT_HOME="C:\Hashicorp\Vagrant_home"
and test
in that way you will be forcing the virtualbox configuration folder,
virtualbox machine folder, vagrant home folder
so will be always the same
Alvaro
On Sat, Mar 21, 2015 at 1:43 AM, Barbara Harris <
b.ha...@bbk.ac.uk> wrote:
> Thanks Alvaro,
>
> Before I created any VMs I set the Default Machine Folder to: C:\VirtualBoxVMs\, via the Oracle VM VirtualBox Manager GUI (using File/Preferences). This is the same in both the GUI and via the command line interface e.g., from showvminfo:
>
> Config file: C:\VirtualBoxVMs\plonedevvagrant-master_prospectus_1423837872845_89017\plonedevvagrant-master_prospectus_1423837872845_89017.vbox.
>
> I have used the UUID in this file to recreate the Vagrant id file (at C:\plonedev.vagrant-master\.vagrant\machines\prospectus\virtualbox\id) and successfully reconnect to the machine.
>
> Do you think my changing the location of the VirtualBox home folder is causing the problem that destroys the content at C:\plonedev.vagrant-master\.vagrant\etc. ?
>
> Do you know from where the value in the Vagrant file: C:\plonedev.vagrant-master\.vagrant\machines\prospectus\virtualbox\ index_uuid is derive?
>
> I think index_uuid contains Vagrant, rather than VirtualBox, information. I'm trying to find out what it is, how it is used and (depending upon its significance) if I can restore or re-create it, without re-building the machine from scratch.
>
> Regards,
> Barbara Harris
> ITS Web Team
> Birkbeck, University of London
> Tel: 020 7380 3186
> Email:
b.ha...@bbk.ac.uk
> You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/vagrant-up/-Ky73Bev2W0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
vagrant-up+...@googlegroups.com.