packer-templates
packer-templates copied to clipboard
test-system-info-output failing due to multi-line packer version o/p
==> docker: Provisioning with shell script: packer-scripts/test-system-info-output
docker: sudo: unable to resolve host image-create-ub
docker: program packer version has 4 lines output
docker: Packer v1.3.2
docker:
docker: Your version of Packer is out of date! The latest version
docker: is 1.3.3. You can update by downloading from www.packer.io/downloads.html
==> docker: Killing the container: ff9b935e13a7b11bf1d5c61141f32092ea20b904cd9ed87ec9e9c1f26cade01d
Build 'docker' errored: Script exited with non-zero exit status: 1
Is it an option to use the latest packer version?
Instead of packer version
can we use packer --version
? See the difference below.
# ./packer version
Packer v1.3.2
# ./packer --version
1.3.2
@joepvd I am working on ppc64le, which does not yet have packer 1.3.3 binary released.
I tried the above changes in the packer-assests/*-system-info-commands.yml, works for me. Do you want to me to raise a PR for this?
Yah, saw that there are no binaries released yet for ppc64le. A shame that packer complains about not having the newest release, if it is not available. I am good with your proposed change :+1: