blob: 05d7ff19f510b075e4f153f9c4a873e59ed01f13 [file] [log] [blame]
khenaidoof2dd2042017-08-18 15:51:46 -04001#!/bin/bash
2apt-get install -y curl unzip
3
4mkdir -p /var/lib/consul
5mkdir -p /usr/share/consul
6mkdir -p /etc/consul/conf.d
7
8consulVersion='0.9.2'
9
10curl -OL https://releases.hashicorp.com/consul/${consulVersion}/consul_${consulVersion}_linux_amd64.zip
11unzip consul_${consulVersion}_linux_amd64.zip
12mv consul /usr/local/bin/consul