
Estou recebendo o seguinte erro durante a execução do vagrant up:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3,udp 192.168.33.1:/Users/freid/www/projects /vagrant
Stdout from the command:
Stderr from the command:
mount.nfs: requested NFS version or transport protocol is not supported
Meu arquivo Vagrant se parece com:
Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |v|
v.name = "projects"
v.customize [
"modifyvm", :id,
"--name", "projects",
"--memory", 2048,
"--natdnshostresolver1", "on",
"--cpus", 1,
]
end
config.vm.box = "ubuntu/trusty64"
config.vm.network :private_network, ip: "192.168.33.71"
config.ssh.forward_agent = true
config.vm.synced_folder "./", "/vagrant", type: "nfs"
end
Eu executei a atualização do vagrant box junto com a atualização da minha versão do vagrant para a versão 1.9.5 mais recente
Estou tentando configurar isso como um ambiente de desenvolvimento local em minha máquina Mac, mas o que estou fazendo de errado, alguma sugestão?
Obrigado
Responder1
Depois de adicionar 127.0.0.1 localhost ao arquivo /etc/hosts. O problema parece ter desaparecido.