From 489506ff83ca594001cc361dca37c979ed0a0477 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 18 Dec 2013 08:38:31 -0800 Subject: [PATCH] guests/linux: up the amount of retries for NFS mounts --- plugins/guests/linux/cap/mount_nfs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/linux/cap/mount_nfs.rb b/plugins/guests/linux/cap/mount_nfs.rb index fe730c0b4..a3396cf54 100644 --- a/plugins/guests/linux/cap/mount_nfs.rb +++ b/plugins/guests/linux/cap/mount_nfs.rb @@ -27,7 +27,7 @@ module VagrantPlugins end mount_command = "mount -o '#{mount_opts.join(",")}' #{ip}:'#{hostpath}' #{expanded_guest_path}" - retryable(:on => Vagrant::Errors::LinuxNFSMountFailed, :tries => 5, :sleep => 3) do + retryable(:on => Vagrant::Errors::LinuxNFSMountFailed, :tries => 8, :sleep => 3) do machine.communicate.sudo(mount_command, :error_class => Vagrant::Errors::LinuxNFSMountFailed) end