Vagrant Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 43: Line 43:


  vagrant global-status
  vagrant global-status
==status==
vagrant status [''name''|''id'']
==destroy==
Stops and deletes all traces of the vagrant machine:
vagrant destroy
vagrant destroy [''name''|''id'']
If the corresponding VM runs in AWS EC2, this terminates the instance.


=Managing a VM in an AWS Environment=
=Managing a VM in an AWS Environment=
{{Internal|Vagrant AWS Provider|Vagrant AWS Provider}}
{{Internal|Vagrant AWS Provider|Vagrant AWS Provider}}

Revision as of 19:30, 17 November 2019

External

Internal

Plugin Operations

Plugin Operations

Environment Operations

Environment Operations

Box Operations

List

vagrant box list

Instance Operations

Instance Operations

init

https://www.vagrantup.com/docs/cli/init.html
vagrant init

ssh

Connect to machine via SSH:

vagrant ssh

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


global-status

Global status of the VM:

vagrant global-status

Managing a VM in an AWS Environment

Vagrant AWS Provider