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

add flag to pause at end of scripts before creating image #120

Open
aerickson opened this issue Dec 18, 2023 · 1 comment
Open

add flag to pause at end of scripts before creating image #120

aerickson opened this issue Dec 18, 2023 · 1 comment

Comments

@aerickson
Copy link
Member

When debugging, I often want to inspect the image before creating an image.

Potential implementation: Use https://developer.hashicorp.com/packer/docs/provisioners/breakpoint to implement this. Add a flag that will inject this provisioner at the end of the Packer process.

@aerickson
Copy link
Member Author

Currently working around with monopacker build monopacker-testing-image --packer-args '-on-error=ask' (the packer args) and the debugging-fail script.

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

No branches or pull requests

1 participant