Use ipv4 for nomad and consul to reduce connectivity issues on my network
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
};
|
||||
client = {
|
||||
enabled = true;
|
||||
preferred_address_family = "ipv4";
|
||||
%{if cpu_total_compute != null ~}
|
||||
cpu_total_compute = ${cpu_total_compute};
|
||||
%{endif ~}
|
||||
@@ -71,6 +72,7 @@
|
||||
webUi = true;
|
||||
interface.bind = "${bind_interface}";
|
||||
interface.advertise = "${bind_interface}";
|
||||
forceAddrFamily = "ipv4";
|
||||
extraConfig = {
|
||||
client_addr = "{{ GetPrivateInterfaces | exclude \"type\" \"ipv6\" | join \"address\" \" \" }} {{ GetAllInterfaces | include \"flags\" \"loopback\" | join \"address\" \" \" }}";
|
||||
%{if bootstrap ~}
|
||||
|
||||
Reference in New Issue
Block a user