Vagrant error: NFS is reporting that your exports file is invalid

I had some previous images/boxes installed in my VirtualBox installation, so there were a few invalid entries in /etc/exports already. So I had to clean up that file and restart my Vagrant box.

NFS is reporting that your exports file is invalid. Vagrant does
this check before making any changes to the file. Please correct
the issues below and execute "vagrant reload":

Here’s what I did on my host machine:

sudo rm /etc/exports
sudo touch /etc/exports

vagrant halt
vagrant up --provision

Leave a Comment