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 option to tell packer not to stop the instance #206

Open
jeepingben opened this issue Nov 12, 2024 · 0 comments
Open

Add option to tell packer not to stop the instance #206

jeepingben opened this issue Nov 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jeepingben
Copy link

jeepingben commented Nov 12, 2024

/kind feature

Describe the solution you'd like
[I would like to direct packer to not stop the instance I am making when all provisioners are finished
This would be helpful in the case of non-interactive ISO installs where there are no provisioners at all and the installer shuts down the instance. ]

Anything else you would like to add:
[ My current workaround is to use the local-shell provisioner and run a sleep for as long as I think the install would take.

The AWS EBS-surrogate packer plugin uses disable_stop_instance for this: hashicorp/packer-plugin-amazon@74198bc#diff-f97c70941315748d298b576dd2ad777ca6cee404e93aa143b94097542ebf15aeR26 https://github.com/hashicorp/packer-plugin-amazon/blob/e79e7b817c627e10a3c65612e5ab701932fef424/.web-docs/components/builder/ebs/README.md?plain=1#L561]

Environment:

  • packer-plugin-nutanix version (use packer plugins installed): /root/.config/packer/plugins/github.com/nutanix-cloud-native/nutanix/packer-plugin-nutanix_v0.9.4_x5.0_linux_amd64
  • Packer version (use packer version): Packer v1.11.2
  • OS (e.g. from /etc/os-release): PRETTY_NAME="Alpine Linux v3.20" (docker)
@tuxtof tuxtof added the enhancement New feature or request label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants