When passing `-var` to packer it is not recognized
Consider this command-line.
/Users/schalkc/.gradle/native-binaries/packer/packer_1.0.3_darwin_amd64/84l4moozd0bdybtmbqi374tvt/packer build -var 'templateImg=/...somepath.../CP-DOF_Lab.ova' -var 'gradleHomeDir=/Users/schalkc/.gradle/wrapper/dists/gradle-3.5-all/exhrs6ca08n232b14ue48lbye/gradle-3.5' /...somepath.../packer.json
It work correctly when run from the command-line, but the same command run from within Gradle fails saying that templateImg
and gradleHomeDit
is not set.