Finished for sandbox. Got exit code: 1
packer_build_box : Something went wrong while attempting to build the sandbox box.
At C:\Users\kmhs1\Downloads\BoomBox\build.ps1:279 char:3
+ packer_build_box -Box sandbox
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,packer_build_box
I was having issues earlier with even loading the script in powershell due to "running scripts is disabled on this system." However I fixed that by running CMD as admin and using the command
powershell Set-ExecutionPolicy RemoteSigned
Bringing that up in case it's relevant to the first issue.
I'm doing the "./build.ps1 -ProviderName virtualbox" build and when I run
./build.ps1 -ProviderName virtualbox -PackerPath C:\Users\Me\Downloads\Compressed\packer_1.6.3_windows_amd64\packer.exe
I get the following error
I was having issues earlier with even loading the script in powershell due to "running scripts is disabled on this system." However I fixed that by running CMD as admin and using the command
powershell Set-ExecutionPolicy RemoteSigned
Bringing that up in case it's relevant to the first issue.