Vagrant

About

Configuration Virtual Machine

Command

Init

initializing a directory for usage with Vagrant

vagrant init 
vagrant init hashicorp/precise64

Start

The VM is created with the following command fired in the same location than the Vagrantfile.

vagrant up --provider=virtualbox

Stop

Stop the VM

vagrant halt

Destroy

Destroy the VM

vagrant destroy

Reboot|Reload

Reboot your VM using the command:

vagrant reload

Configuration

VAGRANT_HOME

VAGRANT_HOME environment variable defines the directory where Vagrant stores global state.

By default, this is set to '.vagrant.d' under your user profile.

This is where boxes (base VMs) are stored, so it can actually be quite large on disk.

Others environment variables

Documentation / Reference


Powered by ComboStrap