diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2017-02-16 18:22:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2017-02-16 18:22:49 +0000 |
commit | 67b79b2f865e8e5ec74c449a1922a02af08926fe (patch) | |
tree | 6259a48448bb4c94468a1b8079f67f13463e3db9 /packer/provision | |
parent | 38e07c724e85f671241aca0974ac1de94320776b (diff) | |
parent | a4fce651eb211e88bc2495ed9c557eff61b15162 (diff) |
Merge "Add hashicorp's packer 0.12.2 to basebuild"
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/basebuild.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh index 082cfcccc..5e122dcab 100644 --- a/packer/provision/basebuild.sh +++ b/packer/provision/basebuild.sh @@ -177,6 +177,14 @@ all_systems() { echo "ServerAliveCountMax 30" | sudo tee -a ${SSH_CFG} >/dev/null 2>&1 echo "ServerAliveInterval 10" | sudo tee -a ${SSH_CFG} >/dev/null 2>&1 + # Following installs hashicorp's packer binary which is required for + # ci-management-{verify,merge}-packer jobs + mkdir /tmp/packer.io + cd /tmp/packer.io + wget https://releases.hashicorp.com/packer/0.12.2/packer_0.12.2_linux_amd64.zip + unzip packer_0.12.2_linux_amd64.zip -d /usr/local/bin/ + # note: rename to packer.io to avoid conflict with cracklib packer + mv /usr/local/bin/packer /usr/local/bin/packer.io } echo "---> Detecting OS" |