aboutsummaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorAnil Belur <abelur@linuxfoundation.org>2017-05-24 10:21:49 +1000
committerAnil Belur <abelur@linuxfoundation.org>2017-05-25 12:08:00 +1000
commit0b2dd837dc000def2d33e50cd276c8cc33f9304c (patch)
tree57e0070c641ebcb24822c443ddf46899c46ab28d /packer
parent3d471af83b3b40c729a773067800a573676fdabd (diff)
Add hashicorp's packer 1.0.0 to basebuild
Change-Id: Id939111ccbfdf5ab0ca3aef0d33f6c88d9c30172 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/basebuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh
index 08651d16..50539eda 100644
--- a/packer/provision/basebuild.sh
+++ b/packer/provision/basebuild.sh
@@ -11,3 +11,12 @@ cat <<EOFSTAB >> /etc/fstab
none /tmp tmpfs defaults 0 0
EOFSTAB
+
+# The following installs hashicorp's packer binary which is required for
+# ci-management-{verify,merge}-packer jobs
+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/
+# rename packer to avoid conflict with binary in cracklib
+mv /usr/local/bin/packer /usr/local/bin/packer.io