commit d23e779d871acd60844a195f847612272888d668 parent 35a401fbac0c9382343159b9618881457e6d28c5 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Sun, 30 Jan 2022 23:55:01 +0100 fix client_addr Diffstat:
M | consul.sh | | | 9 | +++------ |
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/consul.sh b/consul.sh @@ -62,15 +62,12 @@ ports { dns = 8600 } -# Multiple private IPv4 addresses found. Please configure one with 'bind' and/or 'advertise', -# common error mentioned at https://www.consul.io/docs/troubleshoot/common-errors # The address that should be bound to for internal cluster communications. +# If there are multiple private IPv4 addresses available, Consul will exit with an error at startup: +# - https://www.consul.io/docs/troubleshoot/common-errors +# - https://www.consul.io/docs/agent/options bind_addr = "{{GetInterfaceIP \"eth0\"}}" -# The address to which Consul will bind client interfaces. -# By default, this is "127.0.0.1", allowing only loopback connections. -client_addr = "{{GetInterfaceIP \"eth0\"}}" - performance { raft_multiplier = 1 }