mitchellh/vagrant — pull request #1627 by smoyer (2013-04-18 16:19:22+00:00)
Title: VirtualBox Plugin - Concurrent Base Box Import

I have a Jenkins server that attempts to vagrant up several environments concurrently from the same base box. This is to smoketest various chef recipes.

When the the OVF import is called down in the virtualbox driver, it will create a folder that uses the base boxes name in the VirtualBox VM's folder. While that base box folder exists it will not be possible to bring up any other system that uses that same base box. Doing so will start to overwrite the files in the base box folder and cause bad things to happen.

This is an attempt to import the box into a unique(ish) folder name so that less bad things happen. There are still other issues with attempting to bring multiple machines up at once with VirtualBox, but I hope this is a helpful step in the right direction.