Ho il seguente nel mio Vagrantfile:Utilizzando NFS con vagabondo non funziona
config.vm.network :private_network, ip: "10.0.0.103"
config.vm.synced_folder ".", "/vagrant/", type: "nfs"
facendo vagrant up
su una scatola freschi rendimenti:
==> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o 'vers=3,udp' 10.0.0.1:'/Users/wayne/app' /vagrant
Stdout from the command:
Stderr from the command:
stdin: is not a tty
mount.nfs: access denied by server while mounting 10.0.0.1:/Users/wayne/app
ho quindi bisogno di vagrant reload
e sembra lavoro ... Ma sicuramente non dovrei farlo?
[aggiornamento: log di uscita]
INFO retryable: Retryable exception raised: #<Vagrant::Errors::LinuxNFSMountFailed: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o 'vers=3,udp' 10.0.0.1:'/Users/wayne/sonatribe' /vagrant
Stdout from the command:
Stderr from the command:
stdin: is not a tty
mount.nfs: requested NFS version or transport protocol is not supported
>
INFO ssh: Execute: mount -o 'vers=3,udp' 10.0.0.1:'/Users/wayne/sonatribe' /vagrant (sudo=true)
INFO retryable: Retryable exception raised: #<Vagrant::Errors::LinuxNFSMountFailed: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o 'vers=3,udp' 10.0.0.1:'/Users/wayne/sonatribe' /vagrant
Stdout from the command:
Stderr from the command:
stdin: is not a tty
mount.nfs: requested NFS version or transport protocol is not supported
quale sistema operativo stai usando? Inoltre, dici che una ricarica consente effettivamente a NFS di funzionare? – Hassan
L'host è OSX Yosemite e il guest è XUbuntu, il ricaricamento consente a NFS di funzionare: durante il ricaricamento non è necessario reinserire la mia password ma funziona – iwayneo
"VAGRANT_LOG = info vagrant up" e incolla l'output. – Hassan