Merge pull request #4929 from kalifg/master
Add back creation of mount point
This commit is contained in:
commit
ed688ec775
|
@ -8,6 +8,8 @@ module VagrantPlugins
|
|||
nfs_version_mount_option="-o nfsv#{opts[:nfs_version]}"
|
||||
end
|
||||
|
||||
machine.communicate.sudo("mkdir -p #{opts[:guestpath]}", {shell: "sh"})
|
||||
|
||||
machine.communicate.sudo(
|
||||
"mount -t nfs #{nfs_version_mount_option} " +
|
||||
"'#{ip}:#{opts[:hostpath]}' '#{opts[:guestpath]}'", {shell: "sh"})
|
||||
|
|
Loading…
Reference in New Issue