Support mounting NFS folders with spaces in FreeBSD [GH-1229]
This commit is contained in:
parent
76ca35a095
commit
4ba0fc821e
|
@ -29,7 +29,7 @@ module VagrantPlugins
|
|||
def mount_nfs(ip, folders)
|
||||
folders.each do |name, opts|
|
||||
vm.communicate.sudo("mkdir -p #{opts[:guestpath]}")
|
||||
vm.communicate.sudo("mount #{ip}:#{opts[:hostpath]} #{opts[:guestpath]}")
|
||||
vm.communicate.sudo("mount '#{ip}:#{opts[:hostpath]}' '#{opts[:guestpath]}'")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue