bundlewrap/bundles/systemd-networkd/items.py
2022-01-11 18:41:06 +01:00

23 lines
387 B
Python

assert node.has_bundle('systemd')
files = {
'/etc/network/interfaces': {
'delete': True,
},
'/etc/resolv.conf': {
'content_type': 'mako',
},
'/etc/dhcp/dhclient-enter-hooks.d/nodnsupdate': {
'mode': '0755',
},
}
directories = {
'/etc/systemd/network': {
'purge': True,
},
}
svc_systemd = {
'systemd-networkd': {},
}