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.
/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 asleep
for as long as I think the install would take.The AWS EBS-surrogate packer plugin uses
disable_stop_instance
for this: https://github.com/hashicorp/packer-plugin-amazon/commit/74198bc8840ba8c61912fbfa8371b58fbe476196#diff-f97c70941315748d298b576dd2ad777ca6cee404e93aa143b94097542ebf15aeR26 https://github.com/hashicorp/packer-plugin-amazon/blob/e79e7b817c627e10a3c65612e5ab701932fef424/.web-docs/components/builder/ebs/README.md?plain=1#L561]Environment:
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
):Packer v1.11.2
/etc/os-release
):PRETTY_NAME="Alpine Linux v3.20"
(docker)