From 953762960c8ea524acd90c2c159cfdf3cbb662f1 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 29 May 2024 14:15:05 +0200 Subject: [PATCH] Add default mount options to the autofs maps. --- templates/auto.data.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/auto.data.j2 b/templates/auto.data.j2 index d27d255..f8ab43c 100644 --- a/templates/auto.data.j2 +++ b/templates/auto.data.j2 @@ -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 %}