

In this example, we'll assume that we have an existing virtual machine environment built with Oracle VirtualBox. These box files can make managing virtual machines and different versions of these virtual machines vastly simpler, especially, if you don't want to build environments from base boxes every time. While box files are still essentially virtual machines, boxes can be published (and updated) and even have additional configuration applied after booting. We can repackage existing environments to use with Vagrant, replacing the shared disk with a new box file.

Read an Extract from the book Using existing virtual machines with Vagrant
