Getting familiar with the Vagrant commandline interface
- list the subcommands
vagranthas - show the help / usage instructions for
vagrant init - create a new Vagrantfile in the playground
- check if
vagrant upalready brings up a VM - list the available base boxes
- fix the Vagrantfile by adding a base box and try to bring up the VM again
- check the status of the VM
- open the VirtualBox GUI and check if you can see the VM running here as well
- configure the display name for the VM in VirtualBox GUI
- ssh into the VM and check on which operation system you are
- leave the ssh session and destroy the VM
- check the status again via Vagrant and VirtualBox
- run
vagrant -hto see available commands - have a look at the Vagrant CLI documentation
- see here how to configure virtualbox specific settings (like the display name for VirtualBox GUI)
- read more about base boxes in the vagrant docs
- you can find base boxes at the opscode bento project or via vagrantcloud