Vagrant Environment Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 18: Line 18:
266ef17  red          aws      running /Users/ovidiufeodorov/tmp/red
266ef17  red          aws      running /Users/ovidiufeodorov/tmp/red
</syntaxhighlight>
</syntaxhighlight>
The command does not actively verify the state of machines, it is instead based on a cache, so you may see stale results.

Revision as of 19:21, 17 November 2019

Internal

Operations

global-status

https://www.vagrantup.com/docs/cli/global-status.html
vagrant global-status

This command tells the state of all active Vagrant environments for the currently logged in user:

id       name         provider state   directory
------------------------------------------------------------------------
1a4c3f3  blue         aws      running /Users/ovidiufeodorov/tmp/blue
266ef17  red          aws      running /Users/ovidiufeodorov/tmp/red

The command does not actively verify the state of machines, it is instead based on a cache, so you may see stale results.