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

configuring NFS #30

Open
ryber opened this issue Oct 3, 2016 · 0 comments
Open

configuring NFS #30

ryber opened this issue Oct 3, 2016 · 0 comments

Comments

@ryber
Copy link

ryber commented Oct 3, 2016

Hello, I wanted to configure this VM to use NSF. When I attempt to change the Vagrantfile to

 config.vm.network :private_network, ip: '192.168.50.50'
 config.vm.synced_folder ".", "/home/vagrant/vagrant-ubuntu-oracle-xe", :nfs => true, :mount_options => ["dmode=777","fmode=666"]

rather than the default (taking away the port forwarding) I get the following error. I'm guesing this may not have anything to do with your specific VM? Any pointers on where to take this are appreciated.

   The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

set -e
mkdir -p /home/vagrant/vagrant-ubuntu-oracle-xe
mount -o vers=3,udp,dmode=777,fmode=666 192.168.50.1:/Users/ryber/Developer/vagrant-ubuntu-oracle-xe /home/vagrant/vagrant-ubuntu-oracle-xe
if command -v /sbin/init && /sbin/init --version | grep upstart; then
  /sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT=/home/vagrant/vagrant-ubuntu-oracle-xe
fi


Stdout from the command:



Stderr from the command:

stdin: is not a tty
mount.nfs: an incorrect mount option was specified
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