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

Do not ignore the sentinal file when running resume #7059

Merged

Conversation

markpeek
Copy link
Contributor

Overview

Do not ignore the sentinal file when running resume and prevent running provisioners again.

References

The sentinal file was always being ignored when running the resume command. This is fixed along with allowing provision options to be used with resume. The code added aligns with the implementation in the reload command.

BTW, I did a git bisect to track it back to issue #5815 and commit 6f3ed13. In the case of a resume command there was no options array passed into the machine.action call which caused the env.key?(:provision_ignore_sentinel) check in lib/vagrant/action/builtin/provision.rb to fail and ignore_sentinal defaulted to true.

The sentinal file was always being ignored when running the
resume command. This is fixed along with allowing provision
options to be used with resume. Fixes hashicorp#6787
@sethvargo sethvargo merged commit f313c89 into hashicorp:master May 27, 2016
@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vagrant resume runs provisioners
2 participants