diff --git a/consul-bootstrap.sh b/consul-bootstrap.sh index 25a4869..c44acd4 100755 --- a/consul-bootstrap.sh +++ b/consul-bootstrap.sh @@ -62,7 +62,8 @@ done # write config file -if [[ $consultype -eq "client" ]] then +if [ $consultype -eq "client" ] +then cat >> /etc/consul.d/consul.hcl <