Running into this issue on vagrant up:
NFS requires a host-only network to be created.
Please add a host-only network to the machine (with either DHCP or a
static IP) for NFS to work.
Using:
Vagrant: 2.3.2
VirtualBox: 7.0.2
OS: macOS Ventura 13.0
Here is a copy of my vagrant file
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.network "private_network", ip: '192.168.56.13',
virtualbox__intnet: true
config.vm.hostname = "tophat"
config.vm.synced_folder ".", "/var/www", type: "nfs"
config.vm.provider "virtualbox" do |v|
v.memory = 4048
v.cpus = 2
end
config.vbguest.auto_update = true
config.vm.network :forwarded_port, guest: 22, host: 2223, auto_correct: true
config.vm.network :forwarded_port, guest: 80, host: 8081, auto_correct: true
config.vm.network :forwarded_port, guest: 443, host: 8444, auto_correct: true
config.vm.network :forwarded_port, guest: 3306, host: 3307, auto_correct: true
config.vm.network :forwarded_port, guest: 8983, host: 8984, auto_correct: true
config.vm.network :forwarded_port, guest: 3141, host: 3142, auto_correct: true
config.vm.network :forwarded_port, guest: 5601, host: 5602, auto_correct: true
config.vm.provision "shell", path: "bootstrap.sh"
end
Anyone know what I am missing? Many thanks in advance!
I’ve also found that my IPs do not resolve to the VM. And nfsd has full disk access.