diff options
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/baseline.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packer/provision/baseline.sh b/packer/provision/baseline.sh index 66bd6bbc..351b9dd1 100644 --- a/packer/provision/baseline.sh +++ b/packer/provision/baseline.sh @@ -139,10 +139,11 @@ EOF # The following installs hashicorp's packer binary which is required for # ci-management-{verify,merge}-packer jobs + export PACKERVERS=1.4.0 mkdir /tmp/packer cd /tmp/packer - wget https://releases.hashicorp.com/packer/1.0.0/packer_1.0.0_linux_amd64.zip - unzip packer_1.0.0_linux_amd64.zip -d /usr/local/bin/ + wget -nd -c "https://releases.hashicorp.com/packer/${PACKERVERS}/packer_${PACKERVERS}_linux_amd64.zip" + unzip packer_${PACKERVERS}_linux_amd64.zip -d /usr/local/bin/ # rename packer to avoid conflict with binary in cracklib mv /usr/local/bin/packer /usr/local/bin/packer.io |