Guess something like this should work: http://answers.microsoft.com/en-us/windows/forum/windows_7-files/change-location-of-temp-files-folder-to-another/19f13330-dde1-404c-aa27-a76c0b450818?auth=1
Go just ask the OS for the temp path. On 21 September 2016 at 06:26, Michael Cook <gmichael.gc...@gmail.com> wrote: > I'm guessing these lines in post-processor.go tell me it's not going to be > possible... > > // Create a temporary directory for us to build the contents of the box in > dir, err := ioutil.TempDir("", "packer") > > the (brief) go doc indicates TempDirs are set for the os. > > > -- > 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 packer-tool+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/51eb9f9b-4c02-453b-adbd-388bae0dc990%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/51eb9f9b-4c02-453b-adbd-388bae0dc990%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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt_r4N1Cb20O2tT-iKBqX0z5TXQQSNfMxpins_RBHHcSqA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.