Using current main branch I get the error
IPv6 method for connection 'upstream' is 'auto' but no $ipv6_dhcp_duid was supplied. (file: /srv/puppet/code/preprod/code/modules/networkmanager/manifests/ifc/connection.pp, line: 149, column: 7)
with below interface configuration:
networkmanager::ifc::connection {
'upstream':
ensure => present,
interface_name => 'ens4f0',
ipv4_method => 'manual',
ipv4_address => '10.10.110.57/24',
ipv4_gateway => '10.10.110.1',
}
This causes that the default ipv6_method auto is used, but the code to calculate ipv6.dhcp-duid expects a MAC address which is missing here.
I wonder why there should be a hard requirement for this setting, because the NetworkManager manual states:
When the property is unset, the global value provided for "ipv6.dhcp-duid" is used. If no global value is provided, the default "lease" value is assumed.
So I guess it would be OK to just leave that unset.
Using current
mainbranch I get the errorwith below interface configuration:
This causes that the default ipv6_method
autois used, but the code to calculateipv6.dhcp-duidexpects a MAC address which is missing here.I wonder why there should be a hard requirement for this setting, because the NetworkManager manual states:
So I guess it would be OK to just leave that unset.