Skip to content

Instantly share code, notes, and snippets.

@jgensler8
Last active March 28, 2016 22:10
Show Gist options
  • Save jgensler8/e1a2274e7ab298f3d4c6 to your computer and use it in GitHub Desktop.
Save jgensler8/e1a2274e7ab298f3d4c6 to your computer and use it in GitHub Desktop.
#!/bin/bash
os="linux"
arch="amd64"
version="0.10.0"
packer_tmp_download=/tmp/packer_${version}_${os}_${arch}.zip
packer_install_location=/usr/local/bin
wget "https://releases.hashicorp.com/packer/${version}/packer_${version}_${os}_${arch}.zip" -O "$packer_tmp_download"
unzip "$packer_tmp_download" -d "$packer_install_location"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment