Packer will stop on exit code. So you can end your scripts with exit 0 and should work
On Fri, Aug 25, 2017 at 3:39 PM, 'Alex Walender' via Packer < [email protected]> wrote: > Hi there, > > is there a way to skip provisioner tasks when they fail? Right now the > whole build aborts when a provisioner fails. > > -- > 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/b7453514-ea81-4880-8bc3-e090b38206bd%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/b7453514-ea81-4880-8bc3-e090b38206bd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- 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/CAHqq0ewBG9CMHOv1iq_s2DrYVLmR13uYk%2BZOk6hyUNL0tNQajg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
