
Recibo el siguiente error durante la ejecución de 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
Mi archivo Vagrant se parece a:
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
Ejecuté la actualización de Vagrant Box y actualicé mi versión de Vagrant a la última versión v1.9.5.
Estoy intentando configurar esto como un entorno de desarrollo local en mi máquina Mac, pero ¿qué estoy haciendo mal? ¿Alguna sugerencia?
Gracias
Respuesta1
Después de agregar 127.0.0.1 localhost al archivo /etc/hosts. El problema parece haber desaparecido.