bundles/nfs-client: don't try to start automount units
This commit is contained in:
parent
1bfeead5e8
commit
8456ac43c6
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ for mount, data in node.metadata.get('nfs-client',{}).get('mounts',{}).items():
|
||||||
'directory:{}'.format(data['mountpoint']),
|
'directory:{}'.format(data['mountpoint']),
|
||||||
'pkg_apt:nfs-common',
|
'pkg_apt:nfs-common',
|
||||||
},
|
},
|
||||||
|
'running': None, # does not exist for automount units
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
svc_systemd['{}.mount'.format(unitname)] = {
|
svc_systemd['{}.mount'.format(unitname)] = {
|
||||||
|
|
Loading…
Reference in a new issue