bundles/nfs-client: decrease timeout, set some default mount options
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
dcb563b31e
commit
83fb1a5e11
3 changed files with 9 additions and 1 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue