I was a bit late, but I had the same problem, and I wanted to share my solution if someone else came across this.
As a result, I changed the path in /etc/exports (on the main machine), for example:
# VAGRANT-BEGIN: 501 121121ae-813d-4546-8fbb-f44c591f5529 "/Users/me/wrong/dir" 192.168.3.103 -alldirs -mapall=501:20
There you can change the path on the host. Then after a vagrant reload it should work.
The path is also saved in .vagrant/machines/default/virtualbox/synced_folders (directory names depending on which provider you use and whether you use the default machine), I tried to change this in the first place, but this is not enough, however it may embarrass Vagrant if you donβt change it there - to be safe, you must change it too.
Unfortunately, I do not know how to do this without manually modifying these files or destroying this field.
mpager
source share