guests/linux: increase sleep time btween NFS mount retries

This commit is contained in:
Mitchell Hashimoto 2013-11-23 11:31:17 -08:00
parent 52c27cd498
commit dcf57bd2cc
1 changed files with 1 additions and 1 deletions

View File

@ -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