Skip to content

[CEMRACS] Create and import a Vagrant box

Alexandre Ancel edited this page Jul 8, 2016 · 8 revisions

Create a vagrant box

  • Write the required Vagrantfile to build the virtual machine and build it
  • Create the box using the following command:
vagrant package --base "bname"

with bname being the virtual machine name (e.g. for VirtualBox, the name that has been set with vb.name or the one displayed in the interface of VirtualBox)

Import the vagrant box

vagrant box add CEMRACS-test ./CEMRACS.box vagrant box list