laravel / homestead

MIT License
3.85k stars 1.45k forks source link

Fix NFS Mount failing on Ubuntu 22.04 #1937

Closed Sn0wCrack closed 5 months ago

Sn0wCrack commented 5 months ago

It appears that NFS over UDP is disabled in Ubuntu 22.04 by default:

This causes NFS mounts to fail by default with Homestead without adding the nfs_udp option to all existing folder mounts, which if you have a lot of folders mounted like I do, can be a bit tedious.

Since Homestead will be using Ubuntu 22.04 by default going forward, I think disabling nfs_udp by default going forward might be a good idea.

This PR will automatically apply the nfs_udp option with a value of false when a folder is using NFS.