diff --git a/plugins/guests/freebsd/guest.rb b/plugins/guests/freebsd/guest.rb index 5b5c710b3..8147a90de 100644 --- a/plugins/guests/freebsd/guest.rb +++ b/plugins/guests/freebsd/guest.rb @@ -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