diff --git a/build.ps1 b/build.ps1 index f518eb9..363ab77 100644 --- a/build.ps1 +++ b/build.ps1 @@ -245,6 +245,8 @@ function packer_build_box { $CurrentDir = Get-Location 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" &$PackerPath @('build', "--only=$PackerProvider-iso", "$box.json") Write-Host "[packer_build_box] Finished for $Box. Got exit code: $LASTEXITCODE"