From 99e7b6678e3b595c4ab84ee64a82406c015c24b5 Mon Sep 17 00:00:00 2001 From: Dustin Lee Date: Wed, 8 May 2019 07:27:40 -0400 Subject: [PATCH] specify packer.log for log generation Avoid directory errors --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 363ab77..67c7dbc 100644 --- a/build.ps1 +++ b/build.ps1 @@ -246,7 +246,7 @@ function packer_build_box { Set-Location "$DL_DIR\Packer" Write-Output "Using Packer to build the $BOX Box. This can take 90-180 minutes depending on bandwidth and hardware." $env:PACKER_LOG=1 - $env:PACKER_LOG_PATH="$DL_DIR\Packer" + $env:PACKER_LOG_PATH="$DL_DIR\Packer\packer.log" &$PackerPath @('build', "--only=$PackerProvider-iso", "$box.json") Write-Host "[packer_build_box] Finished for $Box. Got exit code: $LASTEXITCODE"