How to export your vagrant boxes
Prepare a new machine so the newcomer is able to work as soon as possible, with all the development tools your team already uses.
That’s a boring task.
But Vagrant came to solve that problem, making our life A LOT easier. It provides a portable and reproducible development environment using virtual machines.
You can find tons of tutorial covering all sorts of steps, like installation, box download etc.
One tip I wanted to share today is how to export your boxes so your colleagues can use it right away.
Most of the tutorials seen on Google show us that we have to use:
vagrant package --base precise64
where precise64 is your box name
In my case, that doesn’t work at all, it simply says:
“[precise64] VM not created. Moving on…”
After some googling, I found the answer. Vagrant expects the specific name of your VirtualBox VM.
So you just have to open your VirtualBox and get the...