From 314f169d088d3da82d5d2e01a1f945c0203c5c5a Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Tue, 20 Dec 2016 16:46:32 -0800 Subject: [PATCH] update tmpdir env var for windows --- .../source/docs/other/environmental-variables.html.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/website/source/docs/other/environmental-variables.html.md b/website/source/docs/other/environmental-variables.html.md index a17000688..770498754 100644 --- a/website/source/docs/other/environmental-variables.html.md +++ b/website/source/docs/other/environmental-variables.html.md @@ -40,7 +40,8 @@ each can be found below: new versions of Packer. If you want to disable this for security or privacy reasons, you can set this environment variable to `1`. -- `TMPDIR` - The location of the directory used for temporary files (defaults - to /tmp on Linux/Unix). It might be necessary to customize it when working - with large files since /tmp is a memory-backed filesystem in some Linux - distributions in which case /var/tmp might be preferred. +- `TMPDIR` (Unix) / `TMP` (Windows) - The location of the directory used for temporary files (defaults + to `/tmp` on Linux/Unix and `%USERPROFILE%\AppData\Local\Temp` on Windows + Vista and above). It might be necessary to customize it when working + with large files since `/tmp` is a memory-backed filesystem in some Linux + distributions in which case `/var/tmp` might be preferred.