You can probably use the `execute_command` option to have Packer change directories to the one you want to execute from.
On Thu, Jan 24, 2019 at 2:32 PM goffries <[email protected]> wrote: > Is there a way to set the working directory that packer executes a script > from? Ideally I'd like to to run the script out of the folder that the > script is in. > > -- > 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/462c1af2-f15c-490b-824a-c60d8d4512ac%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/462c1af2-f15c-490b-824a-c60d8d4512ac%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/CAGPV1uqRT-RdiQgO1uGDZafM_st1UJocnhqb%2B8yPi9bFZXMEsw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
