From 0eef208d2da5b5ca7bd9fef92914fe3763d65d9b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 8 Feb 2013 16:18:48 -0800 Subject: [PATCH] Relax retry constrains on mounting NFS --- plugins/guests/linux/guest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/linux/guest.rb b/plugins/guests/linux/guest.rb index 9dcb65ad8..a85a24a6c 100644 --- a/plugins/guests/linux/guest.rb +++ b/plugins/guests/linux/guest.rb @@ -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)