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

Debug mode to not destroy VM on error #1527

Closed
staticfloat opened this issue Sep 24, 2014 · 4 comments
Closed

Debug mode to not destroy VM on error #1527

staticfloat opened this issue Sep 24, 2014 · 4 comments

Comments

@staticfloat
Copy link

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.

@petehayes
Copy link

+1

@Sheshagiri
Copy link

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.

@mitchellh
Copy link
Contributor

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!

@pangratz
Copy link

For reference: #409.

@ghost ghost locked and limited conversation to collaborators Apr 10, 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

No branches or pull requests

5 participants