Add default mount options to the autofs maps.
This commit is contained in:
parent
537a9c7e34
commit
953762960c
|
@ -1,5 +1,5 @@
|
|||
{% if item.is_home is defined and item.is_home %}
|
||||
* {{ item.nfs_server }}:{{ item.remote_export }}/&
|
||||
{% else %}
|
||||
{{ item.path }} / {{ item.nfs_server }}:{{ item.remote_export }}
|
||||
{{ item.path }} {{ item.mount_options | default("-rw,retrans=2,noresvport,rsize=1048576,wsize=1048576,vers=4") {{ item.nfs_server }}:{{ item.remote_export }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue