Check out the option "disable_stop_instance" which was designed for exactly your use case :) https://www.packer.io/docs/builders/amazon-ebs.html#disable_stop_instance
On Tue, Jan 15, 2019 at 9:43 AM Ibrahim Buamod <[email protected]> wrote: > I want to Shutdown windows with sysprep in the provisioning phase without > failing and still create an ami. > > The use case is I need a specific sysprep > The sysprep will shutdown windows > and I don't want packer to treat this as a failure > > ??? how can I do this > > -- > 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/mitchellh/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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/608aa61a-dacd-4034-850e-07f99f33c0ba%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/608aa61a-dacd-4034-850e-07f99f33c0ba%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/mitchellh/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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAGPV1up6sFc00VcwDSDkTd%3DsW-tiZUw_sUeo-PYrwAAxp8A2xw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
