Open hhartzer opened 1 month ago
It's possible to force ifconfig to use netmasks by setting the environment variable like so:
IFCONFIG_FORMAT=inet:hex,inet6:numeric
. This may be the easiest fix.
it's equally possible to write code that gracefully handles both formats, https://github.com/canonical/cloud-init/pull/5272 and if somebody is already touching the code, why not do that?
Description salt-ssh does not work on FreeBSD if IFCONFIG_FORMAT is set in such a way as to return CIDR notation instead of netmask notation.
Setup
FreeBSD 14.0
Steps to Reproduce the behavior
This breaks locally, before even talking to any "minions."
Output:
Expected behavior
It should work as it does normally.
Additional context
https://github.com/freebsd/freebsd-src/pull/1216
It's possible to force
ifconfig
to use netmasks by setting the environment variable like so:IFCONFIG_FORMAT=inet:hex,inet6:numeric
. This may be the easiest fix.