Set the command line flag --on-error=abort to prevent the cleanup after timeout. Normally this happens because your preseed file is not correctly setting up the ssh server on the vm: https://www.packer.io/guides/automatic-operating-system-installs/preseed_ubuntu
On Sun, Jun 28, 2020 at 11:26 AM himanshu chourasia <himanshu01...@gmail.com> wrote: > could anyone please help on this. I am using packer version 1.6.. This > issue keeps on coming and the build is deleted after timeout.. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/hashicorp/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to packer-tool+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/05d87aee-d754-475e-95db-e3ed6d2cf9bfo%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/05d87aee-d754-475e-95db-e3ed6d2cf9bfo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAGPV1urhzzNhNMhOp3rqJczRYyYRd0yMaGx03k3MQhtdQkjoWg%40mail.gmail.com.