From dcf57bd2cc93c121d7e090a7a825e05d9ce1bb5d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 23 Nov 2013 11:31:17 -0800 Subject: [PATCH] guests/linux: increase sleep time btween NFS mount retries --- 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 33e9fd798..b9beaed56 100644 --- a/plugins/guests/linux/cap/mount_nfs.rb +++ b/plugins/guests/linux/cap/mount_nfs.rb @@ -26,7 +26,7 @@ module VagrantPlugins end mount_command = "mount -o '#{mount_opts.join(",")}' #{ip}:'#{hostpath}' #{expanded_guest_path}" - retryable(:on => Vagrant::Errors::LinuxNFSMountFailed, :tries => 5, :sleep => 2) do + retryable(:on => Vagrant::Errors::LinuxNFSMountFailed, :tries => 5, :sleep => 3) do machine.communicate.sudo(mount_command, :error_class => Vagrant::Errors::LinuxNFSMountFailed) end