X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..c2ae372eb008748ab79461d80bb1f1725f0f68a4:/cookbooks/nfs/recipes/default.rb diff --git a/cookbooks/nfs/recipes/default.rb b/cookbooks/nfs/recipes/default.rb index ff37b7b61..6c39c9a67 100644 --- a/cookbooks/nfs/recipes/default.rb +++ b/cookbooks/nfs/recipes/default.rb @@ -21,9 +21,9 @@ package "nfs-common" node[:nfs].each do |mountpoint, details| mount_options = if details[:readonly] - "ro,bg,soft,udp,rsize=8192,wsize=8192,nfsvers=3" + "ro,bg,soft,tcp,rsize=8192,wsize=8192,nfsvers=4" else - "rw,bg,udp,rsize=8192,wsize=8192,nfsvers=3" + "rw,bg,tcp,rsize=8192,wsize=8192,nfsvers=4" end directory mountpoint do