Information in this page is outdated. Last update was made on 06 May 2015.
How to remove invalid entries in vagrant global-status
Table of contents
You may at one point deleted a vagrant directory, accidentally. Perhaps you had that project, finished, and wasn’t able to have it up for too long. This will make your vagrant virtual machine as an orphaned VM. So you went ahead and opened your vagrant’s default provider, e.g., Virtualbox, and delete these VMs. What you did not realise is that, the vagrant entry/ies is/are still there.
To check all list of vagrant instances, execute vagrant global-status
in your terminal. Check all instances against the one listed in your provider.
To Remove
vagrant global-status --prune
Works in
- Linux/Unix systems
- OSX
- Windows using Cygwin (not tested)