Open kbucheli opened 6 months ago
This PR refactors the ipv4 and ipv6 configuration hash generation into a own function each.
ipv4
ipv6
In these functions additional configuration is only attached if the respective family is enabled.
On my test node (using only connection resources :-( ) I get now no additional configuration except that IPv4 and IPv6 are disabled.
[root@lxdev08 ~]# cat /etc/NetworkManager/system-connections/sniffer.nmconnection # THIS FILE IS CONTROLLED BY PUPPET [connection] interface-name=ens224 id=sniffer uuid=ddc5b71b-d603-5c1e-a8c7-03b11d9b00c1 type=ethernet [ipv4] method=disabled [ipv6] method=disabled [root@lxdev08 ~]#
Do you find a minute or two to look at this pull request?
Thank you for your reminder. We will look at it when we have time.
This PR refactors the
ipv4
andipv6
configuration hash generation into a own function each.In these functions additional configuration is only attached if the respective family is enabled.
On my test node (using only connection resources :-( ) I get now no additional configuration except that IPv4 and IPv6 are disabled.