-
Notifications
You must be signed in to change notification settings - Fork 13
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
Error when mounting directory #24
Comments
It happens because there /var/www is not created yet. How to let the plugin to be run when provisioning is over? |
This is the same as #22. I'm investigating a way to do that with Vagrant. For now, a solution is to disable vagrant-sshfs on provision and manually run the command after the folder gets created. |
this is strange, I'm experiencing the same issue but only since I upgraded to Vagrant 1.6.3 - it worked before for me... perhaps something in Vagrant itself changed? there has to be a way to run this after provisioning... |
how do you mount it? On Wed, Jul 23, 2014 at 7:06 PM, Martin Ambrus [email protected]
|
oh, I misread your post - thought you're having difficulty mounting from host, which is what I'm doing with the same result the thing is I'm also using Puppet as #22 suggests to provision my machine but all that executes in a single bootstrap.sh file and I'd expect sshfs to kick in only after that... however, the order seems to be the other way around since Vagrant 1.6.3 - sshfs seems to get mounted before provisioning... |
I can now confirm that 1.6.3 does sshfs first, only then starts provisioning, while 1.5.1 still works as expected (provisioning first, then sshfs - it's set up in the Vagrantfile in this order as well) |
forget about mounting it from host - it bumps up response time. On Wed, Jul 23, 2014 at 9:31 PM, Martin Ambrus [email protected]
|
thanks for the tip :) |
+1 if it could be fixed |
I'm not using the plugin much myself lately, if anyone wants to help on that I'll be happy to accept a PR. |
I'm trying to mount the directory from guest, but keep having this error:
developer-rsync: Password for
[email protected]: ==> developer-rsync: Error when mounting
/opt/webappsto
/var/wwwvagrant-sshfs failed and couldn't proceed
If I ssh to the guest, I can ssh to host and the directory can also be mounted with
sshfs
.I can see
IdentityFile
option is here:vagrant-sshfs/lib/vagrant-sshfs/builders/host.rb
Line 18 in eeeb4df
But how to use it? I want to try connecting with RSA key.
The text was updated successfully, but these errors were encountered: