From 4185822292aa659e7c10779cc7cf090d107fda0f Mon Sep 17 00:00:00 2001 From: Paolo Mainardi Date: Tue, 11 Dec 2018 11:46:26 +0100 Subject: [PATCH] set nfsvers=3 as the default option (#92) fixes #91 --- docker-machine-nfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-machine-nfs.sh b/docker-machine-nfs.sh index d7888ad..51df8eb 100755 --- a/docker-machine-nfs.sh +++ b/docker-machine-nfs.sh @@ -57,7 +57,7 @@ Options: -f, --force Force reconfiguration of nfs -n, --nfs-config NFS configuration to use in /etc/exports. (default to '-alldirs -mapall=\$(id -u):\$(id -g)') -s, --shared-folder,... Folder to share (default to /Users) - -m, --mount-opts NFS mount options (default to 'noacl,async') + -m, --mount-opts NFS mount options (default to 'noacl,async,nfsvers=3') -i, --use-ip-range Changes the nfs export ip to a range (e.g. -network 192.168.99.100 becomes -network 192.168.99) -p, --ip Configures the docker-machine to connect to your host machine via a specific ip address -t, --timeout Configures how long the timeout should be for docker-machine commands @@ -135,7 +135,7 @@ setPropDefaults() prop_machine_name= prop_shared_folders=() prop_nfs_config="-alldirs -mapall="$(id -u):$(id -g) - prop_mount_options="noacl,async" + prop_mount_options="noacl,async,nfsvers=3" prop_force_configuration_nfs=false prop_use_ip_range=false prop_timeout=