bundles/systemd-networkd: don't manage resolv.conf if using resolved

This commit is contained in:
Franzi 2022-02-12 18:54:56 +01:00
parent 262e935510
commit 5be2610a86
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -13,9 +13,6 @@ svc_systemd = {
}
if node.metadata.get('systemd-networkd/enable-resolved', False):
symlinks['/etc/resolv.conf'] = {
'target': '/run/systemd/resolve/stub-resolv.conf',
}
svc_systemd['systemd-resolved'] = {}
else:
files['/etc/resolv.conf'] = {