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

On an (X)ubuntu host, NFS is not supported #21

Open
clebio opened this issue Jun 13, 2015 · 1 comment
Open

On an (X)ubuntu host, NFS is not supported #21

clebio opened this issue Jun 13, 2015 · 1 comment

Comments

@clebio
Copy link

clebio commented Jun 13, 2015

In the Vagrantfile, the line for the synced folder:

    if OS.unix?
      pykcdotdev.vm.synced_folder "./",  "/vagrant/", type: "nfs"

causes the following issue:

Bringing machine 'pykcdotdev' up with 'virtualbox' provider...
==> pykcdotdev: Importing base box 'debian/jessie64'...
==> pykcdotdev: Matching MAC address for NAT networking...
==> pykcdotdev: Checking if box 'debian/jessie64' is up to date...
==> pykcdotdev: Setting the name of the VM: pykcdotdev
It appears your machine doesn't support NFS, or there is not an
adapter to enable NFS on this machine for Vagrant. Please verify
that`nfsd` is installed on your machine, and try again. If you're
on Windows, NFS isn't supported. If the problem persists, please
contact Vagrant support.

Just removing the type specification from that command resolves this, I believe.

@clebio
Copy link
Author

clebio commented Aug 10, 2015

Adding the following prior to OS.unix? works for me:

    if OS.linux?
      pykcdotdev.vm.synced_folder "./",  "/vagrant/"

But is all that OS testing necessary? I've never had to use such a construct in a Vagrantfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant