configuring NFS
ryber opened this issue · 0 comments
ryber commented
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