ooops missed something while branching
This commit is contained in:
parent
833f2d0ef7
commit
dd541b93b9
|
@ -26,7 +26,7 @@ module VagrantPlugins
|
||||||
mount_opts = opts[:mount_options].dup
|
mount_opts = opts[:mount_options].dup
|
||||||
end
|
end
|
||||||
|
|
||||||
mount_command = "mount -o '#{mount_opts.join(",")}' #{ip}:'#{hostpath}' #{expanded_guest_path}"
|
mount_command = "mount.nfs -o '#{mount_opts.join(",")}' #{ip}:'#{hostpath}' #{expanded_guest_path}"
|
||||||
retryable(on: Vagrant::Errors::LinuxNFSMountFailed, tries: 8, sleep: 3) do
|
retryable(on: Vagrant::Errors::LinuxNFSMountFailed, tries: 8, sleep: 3) do
|
||||||
machine.communicate.sudo(mount_command,
|
machine.communicate.sudo(mount_command,
|
||||||
error_class: Vagrant::Errors::LinuxNFSMountFailed)
|
error_class: Vagrant::Errors::LinuxNFSMountFailed)
|
||||||
|
|
Loading…
Reference in New Issue