Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: destroy attached volumes after a server destroy #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angristan
Copy link
Contributor

Fixes #15.

A vagrant destroy when the server is running will call server.terminate, which destroys attached volumes.
A vagrant destroy when the server is halted will call server.destroy, which does not destroy attached volumes.

This commit addresses the second case and delete each volume seperately.

Fixes kaorimatz#15.

A `vagrant destroy` when the server is running will call `server.terminate`, which destroys attached volumes.
A `vagrant destroy` when the server is halted will call `server.destroy`, which does not destroy attached volumes.

This commit addresses the second case and delete each volume seperately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"vagrant destroy" after a "halt" does not delete local storage volume
1 participant