Remove packer installer
This commit is contained in:
parent
93741caef7
commit
2602b23e4d
1 changed files with 0 additions and 14 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
PACKER_INSTALLATION_DIR="."
|
|
||||||
|
|
||||||
# Install Packer
|
|
||||||
if ! command -v packer > /dev/null 2>&1; then
|
|
||||||
curl https://releases.hashicorp.com/packer/1.4.4/packer_1.4.4_linux_amd64.zip -o packer.zip >/dev/null
|
|
||||||
unzip -o packer.zip -d ${PACKER_INSTALLATION_DIR} >/dev/null
|
|
||||||
rm ${PACKER_INSTALLATION_DIR}/packer.zip
|
|
||||||
else
|
|
||||||
PACKER_INSTALLATION_DIR="$(dirname `command -v packer`)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ${PACKER_INSTALLATION_DIR}
|
|
||||||
Loading…
Add table
Reference in a new issue