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

unregister before confirmation of vagrant destroy #130

Open
ansiblejunky opened this issue Sep 7, 2018 · 0 comments
Open

unregister before confirmation of vagrant destroy #130

ansiblejunky opened this issue Sep 7, 2018 · 0 comments

Comments

@ansiblejunky
Copy link

The plugin appears to unregister the machine before the user gets prompted to confirm whether or not we really want to destroy the machine. See the output below. This happens only when the machine is running. When it is shutdown and then destroyed it seems fine.

> vagrant destroy tower1
==> tower1: Unregistering box with vagrant-registration...
    tower1: Are you sure you want to destroy the 'tower1' VM? [y/N] y
==> tower1: Forcing shutdown of VM...
==> tower1: Destroying VM and associated drives...

The plugin should never post any messages before the prompt. After confirmation, it should unregister the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants