commit 619a2a2ac8ff2b4edd930945bc6b4579fac2b5a8
parent 8b2f37c33125f32f55edc2af07a5de1edbdbae52
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Thu, 20 Jul 2023 17:01:01 +0200
fix: consul server flag
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/consul.sh b/consul.sh
@@ -92,9 +92,7 @@ EOF
if [[ "$CONSUL_SERVER" = true ]]; then
cat << EOF > /etc/consul.d/server.hcl
-server {
- enabled = true
- bootstrap_expect = 3
-}
+server = true
+bootstrap_expect = 3
EOF
fi # endif CONSUL_SERVER