Vagrant 1.8 does appear to be broken. I'm launching Vagrant from my Z:\ network drive.
Command: ["sharedfolder", "add", "xxxxx", "--name", "vagrant", "--hostpath", "Z:\\"] Stderr: VBoxManage.exe: error: Shared folder path 'Z:"' is not absolute Note the spurious " (double-quote) in the folder path above: 'Z:"'. I tried playing with the following spec in my vagrantfile to no avail: Neither config.vm.synced_folder ".", "/vagrant" nor config.vm.synced_folder "Z:\\", "/vagrant" worked. On Wednesday, December 23, 2015 at 1:29:07 PM UTC-5, Vince Skahan wrote: > > 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/ec301372-a2eb-4aac-8f2f-b9dc5eea6a7e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
