homestead 2.0 nfs mounts

So you are using homestead, all fancy with it, to discover later that its slow, really slow.

After some googling around you discover that you can use NFS instead, and a few solutions involve changing homestead code. Not true. You only need to add a “type: nfs” in your mount point config in Homestead.yaml:

  - map: ~/src
    to: /home/vagrant/src
    type: nfs

2 thoughts on “homestead 2.0 nfs mounts

  1. Thanks for this tip, but what should one do if you restart Homestead/Vagrant, and get this? Thanks, pw

    ==> default: Configuring and enabling network interfaces…
    ==> default: Exporting NFS shared folders…
    ==> default: Preparing to edit /etc/exports. Administrator privileges will be required…

    • Write your password. You need to do this everytime vagrant needs to change /etc/exports, only writable by root.

Comments are closed.