Update vagrant

This commit is contained in:
Alex Dadgar 2016-08-16 10:09:46 -07:00
parent 7a7372922f
commit 3fe013695d
1 changed files with 9 additions and 0 deletions

9
Vagrantfile vendored
View File

@ -8,6 +8,7 @@ DEFAULT_CPU_COUNT = 2
$script = <<SCRIPT
GO_VERSION="1.7"
CONSUL_VERSION="0.6.4"
VAULT_VERSION="0.6.0"
# Install Prereq Packages
sudo apt-get update
@ -52,6 +53,14 @@ unzip consul.zip
sudo chmod +x consul
sudo mv consul /usr/bin/consul
echo Fetching Vault...
cd /tmp/
wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault${VAULT_VERSION}_linux_amd64.zip -O vault.zip
echo Installing Vault...
unzip vault.zip
sudo chmod +x consul
sudo mv vault /usr/bin/vault
# Install Docker
echo deb https://apt.dockerproject.org/repo ubuntu-`lsb_release -c | awk '{print $2}'` main | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D