IPv6AcceptRA not via dhcp option

This commit is contained in:
CroneKorkN 2025-08-03 22:35:56 +02:00
parent 4b22705ff7
commit 3d6d4d5503
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -50,7 +50,7 @@ def units(metadata):
}, },
'Network': { 'Network': {
'DHCP': network_conf.get('dhcp', 'no'), 'DHCP': network_conf.get('dhcp', 'no'),
'IPv6AcceptRA': network_conf.get('dhcp', 'no'), 'IPv6AcceptRA': network_conf.get('IPv6AcceptRA', 'no'),
'VLAN': set( 'VLAN': set(
other_network_name other_network_name
for other_network_name, other_network_conf in metadata.get('network', {}).items() for other_network_name, other_network_conf in metadata.get('network', {}).items()