Give a disk-backed temp directory

This commit is contained in:
Greg Hellings
2025-04-01 23:07:48 -05:00
parent 74850a531d
commit eb27da3804
+1
View File
@@ -101,6 +101,7 @@
if [ -e "''${PACKER_CONFIG_DIR}" ]; then
find "''${PACKER_CONFIG_DIR}" -name '*_linux_amd64' -exec chmod +x '{}' ";"
fi
export TMPDIR=/var/tmp
packer init sources
packer build -only=${d.provider}.${d.arch} -var-file=${distroFile d} ${args} sources/
'';