Error: It appears your machine doesn't support NFS

I spent hours setting up Vagrant for Windows and this happend. What is the point of Windows binary when it just doesn’t work? Couldn’t it warn me before?

Hey there,
sorry to hear that. Vagrant does not support NFS on Windows. However, there are several other synced folder types that Vagrant does support on Windows. If you are willing to share your Vagrantfile we can maybe find some modifications to make your Vagrantfile work.

Cheers,
Sophia

Thanks for trying to help.
It is from a repository I want to build:

VAGRANTFILE_API_VERSION = “2”

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = “ubuntu/trusty32”
config.vm.hostname = “cataclysm”
config.vm.synced_folder “.”, “/vagrant”, type: “nfs”
config.vm.network :private_network, type: :dhcp
config.vm.network :forwarded_port, guest: 80, host: 8000
config.vm.provision “shell”, path: “provision.sh”
config.vm.provider :virtualbox do |v|
v.customize [“modifyvm”, :id, “–memory”, 2048]
end
end

You can update the synced folder line to

config.vm.synced_folder “.”, “/vagrant”

This will allow Vagrant to pick the default synced folder type for the host machine. Or, you might want to try an SMB synced folder. This is achieved by rewriting this line to

config.vm.synced_folder “.”, “/vagrant”, type: "smb"

Cheers

1 Like