vagrant

vagrant

TLDR

Create Vagrantfile in current directory with the base Vagrant box

$ vagrant init
copy

Create Vagrantfile with the Ubuntu 14.04 (Trusty Tahr) box from HashiCorp Atlas

$ vagrant init ubuntu/trusty32
copy

Start and provision the vagrant environment

$ vagrant up
copy

Suspend the machine

$ vagrant suspend
copy

Halt the machine

$ vagrant halt
copy

Connect to machine via SSH

$ vagrant ssh
copy

Output the SSH configuration file of the running Vagrant machine

$ vagrant ssh-config
copy

Copied to clipboard
sandbox