Vagrant Operations

From NovaOrdis Knowledge Base
Revision as of 00:31, 10 August 2019 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

External

Internal

Box Operations

List

vagrant box list

Instance Operations

Start and provision the vagrant environment:

vagrant up

If property configured, bringing the machine up may create a ~/.ssh/dev/vagranthostname configuration that can be used by ssh to connect directly.

Vagrant

Connect to machine via SSH:

vagrant ssh

How does it know to connect to the instance it was started? More about jump box.

Stops and deletes all traces of the vagrant machine:

vagrant destroy