Running 1.8 on Windows7pro, vagrant seems to be getting confused re: 
backslashes in shared folder definitions.   Worked under 1.7.4 and earlier.


   - I'm trying to mount a remote \\host.domain\path_here onto 
   /some/local/path in the VM
   - previously, we had to escapebackslashes and double them up ala 
   \\\\host.domain\\path_here in our vagrantfiles
   - now this confuses heck out of vagrant with an error ala:
   
   There was an error while executing `VBoxManage`, a CLI used by Vagrant
   for controlling VirtualBox. The command and stderr is shown below.
   
Command: ["sharedfolder", "add", "2850746f-ba92-4866-b3be-7871613e20b0", 
"--name", "somenamehere", "--hostpath", "\\\\?\\\\\\host.domain\\path_here"]


Stderr: VBoxManage.exe: error: Shared folder path 
'\\?\\\host.domain\path_here' is not absolute
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component 
SharedFolder, interface ISharedFolder, callee IUnknown
VBoxManage.exe: error: Context: "CreateSharedFolder(Bstr(name).raw(), 
Bstr(hostpath).raw(), fWritable, fAutoMount)" at line 1015 of file 
VBoxManageMisc.cpp

Worked on 1.7.4, fails on 1.8 so one of them seems to have a bug.

Questions:

   -  is 1.8 broken here ?
   -  how do we specify a UNC name as the target to mount via our 
   Vagrantfile ?
   -  if I mounted the UNC path as a drive under windows ala S:\something, 
   how would I specify that

Using cygwin if that matters...

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/95beeac8-ca4f-49f7-a072-40c1d491dd29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to