27
21
I have a vagrant box running on VirtualBox, and I need to make a copy (with all its existing config and data), so that I can make changes on it without affecting the original.
The problem is that my original box came as a file package - the internet connection where I'm working with is extremely slow so someone else copied their vagrant and virtualbox folders to my machine. Thus there is no
config.vm.box_url
to use.
How can I accomplish this?
Edit: I am using Vagrant 1.2.2
Seems like a great way, but unfortunately I am using a different version of vagrant, while your commands seem to be for 1.0.x – xiankai – 2013-08-23T03:47:47.717
@xiankai I am running 1.2.2 and I have verified that these steps work for me. I made a few tweaks to my answer for clarity, give it another try and let me know what errors you get. – spuder – 2013-08-23T04:59:14.147
Ah, after looking at the link you posted, I tried
vagrant package
instead ofvagrant box package
and it seems like I'm on the right track now! – xiankai – 2013-08-23T08:36:20.997vagrant package is correct. That was a typo on my part. – spuder – 2013-08-23T13:37:26.897