-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Debug mode to not destroy VM on error #1527
Comments
+1 |
I think this is a good option to have. But you can still use boot_wait and ssh_wait_timeout to try and debug while your build is still going on. Set these flags to higher values so that you can check for any possible errors during the build. |
There is another issue tracking this actually, from a ways back. Sorry to do this but going to close this for that issue. It is an enhancement we plan on adding! |
For reference: #409. |
It would be really useful when trying to get my packer buildscripts running properly if there were an option I could set to stop packer from destroying the VM on error. I often need to inspect the current state of the VM when something goes wrong, and this is impossible when packer cleans everything up immediately.
The text was updated successfully, but these errors were encountered: