New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arbitrary host reports missing path on vagrant up
#59
Comments
Looks like vagrant 1.9.0 was just released today, but it doesn't change the behavior here. |
hmm. so this is actually a check in vagrant that happens before this plugin is engaged. The vagrant code (outside of this plugin) assumes you are mounting a directory from your host machine into the guest as this is how all of the other synced folder plugins work. Under that assumption, this "check" would make sense. We can try to find the code within vagrant and submit a PR to not do this and/or only do it under certain circumstances, but I'm not sure how receptive they will be :( |
I tried making empty paths locally to get past this, but it appears to have canonicalized the path. This is a problem of its own, as my host is Win10 and the alt server is Linux. It turned into As a kludge, I'd be ok with requiring separate |
I'm kinda stuck here too—I want to use a reverse mount, but it's seemingly impossible to do that in Windows, because if I set I'm also getting the error:
(This happens after I This is on Windows 7, with Vagrant 1.9.2 and VirtualBox 5.1.18. |
I'm currently using |
@cuviper - Good idea! Unfortunately, I'm still getting that error above... I'm trying to do a |
hey @geerlingguy - I initially only supported reverse mounting on linux hosts and then someone requested that I add it for mac in #46. I can't remember now if I didn't implement it for windows because I didn't have time or if there was some technical reason. Created a new issue for that here: #74 |
I have a config line something like this:
When I run
vagrant up
, I get:That path doesn't exist on the local host, only on the remote server that I'm trying to link up.
If I edit the config so this mount is disabled, I can start up; then I re-enable it and run
vagrant sshfs --mount
, and it's fine. So at least I know the specified paths are ok.Is there a way to get this to play nice automatically on
vagrant up
?(Using vagrant 1.8.7 and vagrant-sshfs 1.3.0)
The text was updated successfully, but these errors were encountered: