Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit 4185822

Browse files
paolomainarditonivdv
authored andcommitted
set nfsvers=3 as the default option (#92)
fixes #91
1 parent d6c5b38 commit 4185822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-machine-nfs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Options:
5757
-f, --force Force reconfiguration of nfs
5858
-n, --nfs-config NFS configuration to use in /etc/exports. (default to '-alldirs -mapall=\$(id -u):\$(id -g)')
5959
-s, --shared-folder,... Folder to share (default to /Users)
60-
-m, --mount-opts NFS mount options (default to 'noacl,async')
60+
-m, --mount-opts NFS mount options (default to 'noacl,async,nfsvers=3')
6161
-i, --use-ip-range Changes the nfs export ip to a range (e.g. -network 192.168.99.100 becomes -network 192.168.99)
6262
-p, --ip Configures the docker-machine to connect to your host machine via a specific ip address
6363
-t, --timeout Configures how long the timeout should be for docker-machine commands
@@ -135,7 +135,7 @@ setPropDefaults()
135135
prop_machine_name=
136136
prop_shared_folders=()
137137
prop_nfs_config="-alldirs -mapall="$(id -u):$(id -g)
138-
prop_mount_options="noacl,async"
138+
prop_mount_options="noacl,async,nfsvers=3"
139139
prop_force_configuration_nfs=false
140140
prop_use_ip_range=false
141141
prop_timeout=

0 commit comments

Comments
 (0)