-
Notifications
You must be signed in to change notification settings - Fork 546
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
Stuck at "==> default: Mounting NFS shared folders..." #92
Comments
Letting it run for 15 minutes finally gave this :
|
As suggested by @jiannelli in #82, using this # -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
config.vm.synced_folder ".", "/var/www"
end But this is only a workaround. |
It might be that you are doing vagrant up as a regular user and the system prompts you for root password to mount nfs. Check https://docs.vagrantup.com/v2/synced-folders/nfs.html under the title: "Root Privilege Requirement". |
It did prompt for my password, which I gave. |
Try vagrant ssh and enter the command manually. Also try vagrant in debug mode (maybe it gives you a clue). Perhaps if you configure sudo it will work because it shouldn't prompt you for a password anymore. |
Update your Vagrantfile: #82 |
Gotcha 👍 |
I had a similar problem in Ubuntu, Vagrant version 1.9.3, VB version 5.1.22 The problem was that my host's OS has changed the Solution:
There were many other things I tried: starting/stopping the firewall (ufw, iptables, both, neither); adding specific rules to the firewall to allow all traffic to this IP; It wasn't until I made sure my vboxnet0 had an IP on the host machine that everything worked. |
For Ubuntu 17.04+ ensure that Will save you having to run the |
After updating VirtualBox in Ubuntu 16.04 via the automatic Software updater which runs every morning, I got errors that looks like the ones mentioned here. After trying many things, I tried to run the original install command |
When I do
vagrant up
I get stuck on the NFS part :and it gets stuck forever.
I'm running OS X Yosemite 10.10.4.
The text was updated successfully, but these errors were encountered: