bundlewrap/bundles/wide-dhcp6c/metadata.py
Franziska Kunsmann da4b139095
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/{radvd,wide-dhcp6c}: remove metadata key integrate-with-pppd
2020-12-18 16:30:17 +01:00

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',
},
}
})