bundles: add dependency to systemd-networkd

This commit is contained in:
Franzi 2022-07-10 13:32:11 +02:00
parent ac0f849871
commit dd5a97eced
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 7 additions and 1 deletions

View file

@ -41,6 +41,7 @@ for mount, data in node.metadata.get('nfs-client/mounts',{}).items():
'file:/etc/systemd/system/{}.mount'.format(unitname),
'file:/etc/systemd/system/{}.automount'.format(unitname),
'directory:{}'.format(data['mountpoint']),
'svc_systemd:systemd-networkd',
package,
},
}
@ -56,6 +57,7 @@ for mount, data in node.metadata.get('nfs-client/mounts',{}).items():
'needs': {
'file:/etc/systemd/system/{}.mount'.format(unitname),
'directory:{}'.format(data['mountpoint']),
'svc_systemd:systemd-networkd',
package,
},
}

View file

@ -9,7 +9,11 @@ files = {
}
svc_systemd = {
'systemd-networkd': {},
'systemd-networkd': {
'before': {
'git_deploy:',
},
},
'systemd-resolved': {
'running': False,
'enabled': False,