Relax retry constrains on mounting NFS

This commit is contained in:
Mitchell Hashimoto 2013-02-08 16:18:48 -08:00
parent 6afb4326fa
commit 0eef208d2d
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ module VagrantPlugins
# Do the actual creating and mounting
@vm.communicate.sudo("mkdir -p #{real_guestpath}")
retryable(:on => LinuxError, :tries => 3, :sleep => 1) do
retryable(:on => LinuxError, :tries => 5, :sleep => 2) do
@vm.communicate.sudo("mount -o vers=#{opts[:nfs_version]} #{ip}:'#{opts[:hostpath]}' #{real_guestpath}",
:error_class => LinuxError,
:error_key => :mount_nfs_fail)