bundles/nfs-client: decrease timeout, set some default mount options
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2022-02-20 19:44:05 +01:00
parent dcb563b31e
commit 83fb1a5e11
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 9 additions and 1 deletions

View file

@ -19,6 +19,12 @@ for mount, data in node.metadata.get('nfs-client/mounts',{}).items():
if parameter in data:
directories[data['mountpoint']][parameter] = data[parameter]
if 'suid' not in data['mount_options']:
data['mount_options'].add('nosuid')
if 'hard' not in data['mount_options']:
data['mount_options'].add('soft')
if data.get('automount', True):
data['mount_options'].add('x-systemd.automount')