Hi,
I deleted a project directory that had a Vagrant file with single VM.
Unfortunately, that VM was still running when I deleted the environment.
The deletion included the Vagrantfile and the .vagrant directory.
Then when I executed vagrant global-status, I got the following output:
id name provider state directory
------------------------------------------------------------------------------
c88547e default virtualbox poweroff
/Users/yaniv/IdeaProjects/auxlinux-integ
3a4c20f host0 virtualbox aborted /Users/yaniv/dev/ansible-tuto
9243526 host1 virtualbox aborted /Users/yaniv/dev/ansible-tuto
bc31c93 host2 virtualbox aborted /Users/yaniv/dev/ansible-tuto
3ed6252 default virtualbox *running* /Users/yaniv/dev/mi/mi-saf
a3b2d05 default virtualbox poweroff /Users/yaniv/dev/scala-e2e-testing
When changed the directory to /Users/yaniv/dev/mi/mi-saf, and executed vagrant
destroy 3ed6252, I got the following message:
21:04 $ vagrant destroy 3ed6252
==> default: VM not created. Moving on...
After that, I opened VirtualBox, and removed the vm manually via the UI.
However, vagrant still returns the following list:
id name provider state directory
------------------------------------------------------------------------------
c88547e default virtualbox poweroff
/Users/yaniv/IdeaProjects/auxlinux-integ
3a4c20f host0 virtualbox aborted /Users/yaniv/dev/ansible-tuto
9243526 host1 virtualbox aborted /Users/yaniv/dev/ansible-tuto
bc31c93 host2 virtualbox aborted /Users/yaniv/dev/ansible-tuto
3ed6252 default virtualbox *running* /Users/yaniv/dev/mi/mi-saf
a3b2d05 default virtualbox poweroff /Users/yaniv/dev/scala-e2e-testing
Any idea how I can tell Vagrant to remove this VM?
Thanks,
Yaniv
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.