Passing multiple template variables in Windows

16 views
Skip to first unread message

Dan Franciscus

unread,
May 10, 2018, 5:02:04 PM5/10/18
to Packer
Trying unsuccessfully to pass multiple -vars in packer build command on Windows in PowerShell. What am I doing wrong? I am passing PowerShell variables.

packer build  -var iso_url=$ISOPath -var iso_checksum=$Hash -var iso_checksum_type=256 -force $JSONpath

Dan Franciscus

unread,
May 10, 2018, 8:30:04 PM5/10/18
to Packer
Nevermind. Had something to do with VSCode apparently. I was not able to run it there, but I was in regular PowerShell.
Reply all
Reply to author
Forward
0 new messages