Link Search Menu Expand Document

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

  1. To Remove
  2. Works in

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

  1. Linux/Unix systems
  2. OSX
  3. Windows using Cygwin (not tested)

Back to top

Comment(s)

This site uses a fork version of Just the Docs, a documentation theme for Jekyll, by Patrick Marsceill.
Copyright © 2008-2021 Timothy Escopete.
All rights reserved as provided by law.