Franziska Kunsmann
da4b139095
All checks were successful
bundlewrap/pipeline/head This commit looks good
27 lines
586 B
Python
27 lines
586 B
Python
defaults = {
|
|
'apt': {
|
|
'packages': {
|
|
'wide-dhcpv6-client': {},
|
|
},
|
|
},
|
|
'iptables': {
|
|
'bundle_rules': {
|
|
'wide-dhcp6c': [
|
|
'ip6tables -A INPUT -p udp -s ff00::/12 -j ACCEPT',
|
|
'ip6tables -A INPUT -p udp -s fe80::/10 -j ACCEPT',
|
|
],
|
|
},
|
|
},
|
|
'wide-dhcp6c': {
|
|
'subnet_len': '8',
|
|
},
|
|
}
|
|
|
|
if node.has_bundle('pppd'):
|
|
defaults.update({
|
|
'pppd': {
|
|
'wait-until-stopped': {
|
|
'wide-dhcpv6-client.service',
|
|
},
|
|
}
|
|
})
|