Vagrant Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* [https://www.vagrantup.com/docs/cli/ Vagrant CLI]
=Internal=
=Internal=


* [[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]].
 
Vagrant


Connect to machine via SSH:
Connect to machine via SSH:
Line 27: Line 25:
More about jump box.
More about jump box.
</font>
</font>
Stops and deletes all traces of the vagrant machine:
vagrant destroy

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.