diff options
-rw-r--r-- | blueprints/DockerBP.yaml-template | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/blueprints/DockerBP.yaml-template b/blueprints/DockerBP.yaml-template index 32ee931..a64525d 100644 --- a/blueprints/DockerBP.yaml-template +++ b/blueprints/DockerBP.yaml-template @@ -129,8 +129,9 @@ inputs: # Download Consul from Nexus apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y -q unzip - curl -Ss https://releases.hashicorp.com/consul/0.8.3/consul_0.8.3_linux_amd64.zip > /opt/consul/bin/consul_0.8.3_linux_amd64.zip - unzip /opt/consul/bin/consul_0.8.3_linux_amd64.zip + CONSUL_BIN_DIR=/opt/consul/bin + curl -Ss https://releases.hashicorp.com/consul/0.8.3/consul_0.8.3_linux_amd64.zip > $CONSUL_BIN_DIR/consul_0.8.3_linux_amd64.zip + unzip $CONSUL_BIN_DIR/consul_0.8.3_linux_amd64.zip -d $CONSUL_BIN_DIR cat <<EOF > /opt/consul/config/consul.json { "bind_addr" : "0.0.0.0", |