Add default mount options to the autofs maps.

This commit is contained in:
Andrea Dell'Amico 2024-05-29 14:15:05 +02:00
parent 537a9c7e34
commit 953762960c
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{% if item.is_home is defined and item.is_home %} {% if item.is_home is defined and item.is_home %}
* {{ item.nfs_server }}:{{ item.remote_export }}/& * {{ item.nfs_server }}:{{ item.remote_export }}/&
{% else %} {% 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 %} {% endif %}