Merge pull request #273 from dlee35/master

specify packer.log for log generation
This commit is contained in:
Chris Long
2019-05-08 11:33:01 -07:00
committed by GitHub

View File

@@ -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"