diff options
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/basebuild.sh | 9 |
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 |