bundles/systemd-networkd: fix systemd-resolved not getting started
This commit is contained in:
parent
556c2b6efe
commit
961a2891a0
1 changed files with 4 additions and 4 deletions
|
@ -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': {},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue