-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
nfs failing on osx #2668
Comments
@visionmedia as far as I know, Mavericks requires (the latest) VirtualBox 4.3 version. And of course you have to have NFS client installed in the guest. If the issue persists on VBox 4.3, please reopen and add link to full output of |
is there a way to trick vagrant into not trying to mount on the first |
Maybe something like this: def first_run?
# You *could* check e.g. the provisioner sentinel, but maybe env var is enough?
!!ENV['FIRST_RUN']
end
Vagrant.configure('2') do |config|
# ...
config.vm.synced_folder "vm/", "/home/vagrant/", nfs: true, disabled: first_run?
config.vm.synced_folder "provision/", "/home/vagrant/provision/", nfs: true, disabled: first_run?
if first_run?
config.vm.provision :shell, inline: 'apt-get update; apt-get -y install nfs-common portmap'
else
# other provisioners etc.
end
end And then run:
IMHO it's anyway better to use a basebox which already has the NFS client installed. You can also package the current box to a basebox. |
I'll check out both those options! thanks |
Mavericks, Vagrant 1.4.0, VirtualBox 4.2.18
config:
syslog:
didn't see this exact issue in the tickets, might just be something stupid, any tips are appreciated!
The text was updated successfully, but these errors were encountered: