Skip to content
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

Mounting default shared folders fails #1702

Closed
toobulkeh opened this issue May 8, 2013 · 2 comments
Closed

Mounting default shared folders fails #1702

toobulkeh opened this issue May 8, 2013 · 2 comments

Comments

@toobulkeh
Copy link

Vagrant version 1.2.2
Basebox - https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_chef-11.4.4.box (precise64 + latest Chef inside box)
Host OS - Windows 8 Pro x64
Host Terminals - CMD and MINGW32

Error output:
https://gist.github.com/toobulkeh/0206a56447a7f0c53982

Commentary:
I built this Vagrantfile without any sync folder config (from an old v1 config, after removing the old sync line that is now default) and no /vagrant was created. I manually created the line config.vm.synced_folder "", "/vagrant" which worked the first run. Subsequent runs seem to fail with this error. I even took that line out (to try and make sure it didn't try a mkdir -p but I'm still getting the same errors.

Thought it might've been a console problem as I normally run MINGW32 for GIT cmdline integration as well, but switching to CMD didn't help.

Thanks!

@toobulkeh
Copy link
Author

At first I thought this had to do with #1659 -- but it turns out that this had to do with a stupid ssh-agent script in the vagrant user's .profile that was overcorrecting for keys being added to the agent. removed that and we're back.

Sorry!

@lightgao
Copy link

This help me, thanks.
I got similar error, and I remove "config.ssh.forward_agent = true" in my Vagrant file, then back to normally.

@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants