Vagrant Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 7: Line 7:
* [[Vagrant#Operations|Vagrant]]
* [[Vagrant#Operations|Vagrant]]


=Box Operations=
=Subjects=
* <span id='Plugin_Operations'></span>[[Vagrant Plugin Operations|Plugin operations]]
* <span id='Environment_Operations'></span>[[Vagrant Environment Operations|Environment operations]]
* <span id='Instance_Operations'></span>[[Vagrant Instance Operations|Instance operations]]
* <span id='Box_Operations'></span>[[Vagrant Box Operations|Box operations]]
* <span id='Managing_a_VM_in_an_AWS_Environment'></span>[[Vagrant AWS Provider|Managing a VM in an AWS Environment]]


==List==


vagrant box list
==ssh==
 
=Instance Operations=
 
Start and provision the vagrant environment:
 
vagrant up
 
If property configured, bringing the machine up may create a <tt>~/.ssh/dev/''vagranthostname''</tt> configuration that [[Ssh Include Named Configuration|can be used by ssh to connect directly]].


Connect to machine via SSH:
Connect to machine via SSH:
Line 29: Line 25:
More about jump box.
More about jump box.
</font>
</font>
Status of the VM:
vagrant global-status
vagrant status [''name''|''id'']
Stops and deletes all traces of the vagrant machine:
vagrant destroy
vagrant destroy [''name''|''id'']

Latest revision as of 19:57, 17 November 2019

External

Internal

Subjects


ssh

Connect to machine via SSH:

vagrant ssh

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