Fix nomad ip address

Remove the networ_interface parameter in nomad config
This means that nomad will now autodetect its own ip address
by looking at the default route.
Thus nodes in a LAN behind a NAT will get their LAN address,
and internet nodes will get their public address.
They won't get their VPN addresses.
This seems not to break Consul's use of VPN addresses to address
services, and fixes attr.unique.network.ip-address for DiploNAT.
This commit is contained in:
Alex 2020-05-23 17:44:49 +02:00
parent 3bf830713f
commit d3ada90d83
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,6 @@ client {
docker.privileged.enabled = "true"
docker.volumes.enabled = "true"
}
network_interface = "wgdeuxfleurs"
#network_interface = "wgdeuxfleurs"
}