Skip to content

Instantly share code, notes, and snippets.

@lorentzca
Created September 4, 2015 05:20
Show Gist options
  • Save lorentzca/30b258561e62ef4bcc94 to your computer and use it in GitHub Desktop.
Save lorentzca/30b258561e62ef4bcc94 to your computer and use it in GitHub Desktop.
Install vault by HashiCorp
#!/bin/bash
#
# Install vault by HashiCorp
cd /usr/local/bin
wget -O vault.zip https://dl.bintray.com/mitchellh/vault/vault_0.2.0_linux_amd64.zip
yum install -y unzip
unzip vault.zip
rm vault.zip
@lorentzca
Copy link
Author

Usage

Linux

# curl -s https://gist.githubusercontent.com/Lorentzca/30b258561e62ef4bcc94/raw/5eda193b43d3825f54eb57e9f93ec1a33d015ee8/vault.sh | bash

Digitalocean

add to user-data

#!/bin/bash

curl -s https://gist.githubusercontent.com/Lorentzca/30b258561e62ef4bcc94/raw/5eda193b43d3825f54eb57e9f93ec1a33d015ee8/vault.sh | bash

don't forget to check Private Networking

do-user-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment