
Some particularities of my case that you may find: I hope this can help you :) I'll be happy if you feedback your go. Where the 192.168.50.4 is the IP of my Virtual machine and v and vvv.dev are developing hosts. In my case these are the hosts I need: 192.168.50.4 v You now may have everything ok but remember to see if your hosts are as you expected: c:/windows/system32/hostsĦ- Maybe it's a good idea to copy your host file from your Computer 1 to your Computer 2. If you cannot see the virtual machine, try running the Oracle VM box as administrator (right click -> Run as administrator) The machine will install and you should see it on the "Oracle virtual machine box manager". This will unpack your new vagrant Virtual machine. (You can use -force if you already have a virtual machine with this name and want to overwrite it. (The -name is used to name your virtual machine. Now you have a copy of everything you need on your computer 2 host.Ĥ- run this: vagrant box add package.box -name VVV When finnished, you will have a package.box file.ģ- Copy all these files (/config, /database, Vagrantfile, package.box, etc.) and paste them on your Computer 2 just where you want to install your virtual machine (on my case D:/VVV). The Vagrant load process when the box is used. Instead, a Vagrantfile is loaded and read as part of Vagrantfile that is used when vagrant init is used with this box. Here's what you can read on the Vagrant documentation about the command:Ī common misconception is that the -vagrantfile option will package a (This command does a package of your virtual machine using you Vagrantfile configuration.) The /Also /config and /database are sync folders.Ģ- run this command: vagrant package -vagrantfile Vagrantfile You will see your Vagrantfile an also these folders: /config/ Open it as Adminitrator with the right button -> "Run as administrator") and go to your vagrant installed files.


So when you pack your machine you're packing it without your files, but with the databases.ġ- Open the CMD of your computer 1 host machine (Command line. It's possible!įirst, you need to understand that the virtual machine is separated from your sync / shared folder. I have been 2 days working out the way to migrate a Vagrant + VirtualBox Machine from a computer to another.
