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

Give guests a chance to shutdown gracefully #104

Merged
merged 1 commit into from
May 18, 2020

Conversation

cliffe
Copy link
Contributor

@cliffe cliffe commented Sep 20, 2019

Currently Halt pulls the plug with a poweroff. I didn't notice the issue until provisioning a Windows VM, which means it always boots into the prompt for safe recovery mode. This is a simple method for giving the VM 10 seconds to shutdown before pulling the plug. This could be improved later by polling for the OS shutdown to skip any extra waiting.

Copy link
Owner

@myoung34 myoung34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I commented on this months ago and apparently never hit submit

lib/vagrant-ovirt4/action/halt_vm.rb Show resolved Hide resolved
@myoung34 myoung34 merged commit f520dd7 into myoung34:master May 18, 2020
@cliffe
Copy link
Contributor Author

cliffe commented May 18, 2020

Thanks!

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.

2 participants