mercredi 20 août 2014

Running Vagrant from external disk on 2 different computers


Vote count:

0




i want to use my vagrant VBox image (Debian) on 2 ore more different Windows 7 PCs, because a lot of settings and data (e.g. DB, Vhost) are already in place. I'm using the image for different projects and just make a new vagrant-vbox-image when i need other OS, PHP etc. versions.


So i installed Vagrant and Virtualbox on both machines, changed the path of the Virtualbox-Images to my external disk via Virtualbox Manager and also changed the path of /.vagrant.d to the external disk by setting an environment variable for VAGRANT_HOME. On both machines. Now it works on one machine, but i can't start the image on the other one.


I'm using the latest VBox 4.3.15. i tried to start the image with "vagrant up", but this tries to install me a new image from the box defined and gives me this error:



Stderr: VBoxManage.exe: error: Could not rename the directory 'W:\VirtualBox VMs\boxes_default_1383360377_1408558738514_43554' to 'W:\VirtualBox VMs\dev_deb720' to save the settings file (VERR_ALREADY_EXISTS)


And adding the existing image to the VBox Manger by just clicking in the .vbox and then starting it from there just brings up an error:



Fehlercode:E_FAIL (0x80004005)
Komponente:Machine
Interface:IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}


So has anyone tried to do the same and can descrobe how the same vagrant-vbox-image can be used on different machines? Or some hints?


Thanks in advance!



asked 36 secs ago







Running Vagrant from external disk on 2 different computers

Aucun commentaire:

Enregistrer un commentaire