Encapsulate path for smb powershell script

This commit is contained in:
timcooper 2014-04-07 17:45:29 +01:00
parent 902202aad9
commit 1c12609fdb
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ module VagrantPlugins
"#{machine.id}-#{id.gsub("/", "-")}")
args = []
args << "-path" << hostpath.gsub("/", "\\")
args << "-path" << "\"#{hostpath.gsub("/", "\\")}\""
args << "-share_name" << data[:smb_id]
#args << "-host_share_username" << @creds[:username]