I don't think we made any changes to the shell-local provisioner between 1.2.4 and 1.2.5, but we did make a lot of changes to the provisioner in v1.2.4. The docs for how to run it on windows vs. linux are here: https://www.packer.io/docs/provisioners/shell-local.html
I don't think I can help more specifically without a bigger chunk of the logs to look at. On Thu, Aug 16, 2018 at 7:03 AM, Scott M <[email protected]> wrote: > In packer versions before 1.2.4, I was able to do the following > provisioner and have it work on both Windows and Linux: > > "provisioners": [ > { > "type": "shell-local", > "command": "chef install chefstuff.rb" > } > > In newer packer versions, I get packer-shell395903719' is not recognized > as an internal or external command > > In packer version 1.2.5, I have not been able to come up with a solution > that will work on both Windows and Linux. > > Any ideas? > > -- > 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/8344ca8a-6dd7-4ccf-a57a-bef9419cb792%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/8344ca8a-6dd7-4ccf-a57a-bef9419cb792%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/CAGPV1urN8EiNdrCZmv__FtLkCcm%2BsPyrkFVs7ruhkhiruRn7pw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
