bundles/systemd-networkd: don't manage resolv.conf if using resolved
This commit is contained in:
parent
262e935510
commit
5be2610a86
1 changed files with 0 additions and 3 deletions
|
@ -13,9 +13,6 @@ svc_systemd = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if node.metadata.get('systemd-networkd/enable-resolved', False):
|
if node.metadata.get('systemd-networkd/enable-resolved', False):
|
||||||
symlinks['/etc/resolv.conf'] = {
|
|
||||||
'target': '/run/systemd/resolve/stub-resolv.conf',
|
|
||||||
}
|
|
||||||
svc_systemd['systemd-resolved'] = {}
|
svc_systemd['systemd-resolved'] = {}
|
||||||
else:
|
else:
|
||||||
files['/etc/resolv.conf'] = {
|
files['/etc/resolv.conf'] = {
|
||||||
|
|
Loading…
Reference in a new issue