bundles/systemd-networkd: fix systemd-resolved not getting started

This commit is contained in:
Franzi 2022-02-12 11:24:19 +01:00
parent 556c2b6efe
commit 961a2891a0
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -8,6 +8,10 @@ files = {
},
}
svc_systemd = {
'systemd-networkd': {},
}
if node.metadata.get('systemd-networkd/enable-resolved', False):
symlinks['/etc/resolv.conf'] = {
'target': '/run/systemd/resolve/stub-resolv.conf',
@ -175,7 +179,3 @@ for brname, config in node.metadata.get('systemd-networkd/bridges', {}).items():
'svc_systemd:systemd-networkd:restart',
},
}
svc_systemd = {
'systemd-networkd': {},
}