Maybe some way to tell Juju which device or network to get the address from. Much like Tigera Enterprise Charm has a value
nic_autodetection_regex: "lo"
get the ip address from the loopback. Ignores 127.0.0.1. Though this will break if there is more than 1 additional address on the loopback. Could use a combination of
nic_autodetection_regex: "lo" # use the address on the "lo" that
public_address_regex: 10.33. # matches the regex. If more than 1 match use the first and user needs to fix this misconfig. If no match then we have a misconfig - report "missing".
or just
nic_autodetection_regex: "enp3s0f0" # use the address on this interface
or just
public_address_regex: 10.33. # use the first address that matches this regex
Thanks Joseph
Maybe some way to tell Juju which device or network to get the address from. Much like Tigera Enterprise Charm has a value
nic_autodetecti on_regex: "lo"
get the ip address from the loopback. Ignores 127.0.0.1. Though this will break if there is more than 1 additional address on the loopback. Could use a combination of
nic_autodetecti on_regex: "lo" # use the address on the "lo" that address_ regex: 10.33. # matches the regex. If more than 1 match use the first and user needs to fix this misconfig. If no match then we have a misconfig - report "missing".
public_
or just
nic_autodetecti on_regex: "enp3s0f0" # use the address on this interface
or just
public_ address_ regex: 10.33. # use the first address that matches this regex