首先安装一个插件: cmd 或 Git Bash,运行
vagrant plugin install vagrant-winnfsd
然后在共享文件夹的配置中添加: type: “nfs”
即: Homestead.yaml文件中
folders:
- map: F:\workspace\data-bus
to: /home/vagrant/data-bus
type: "nfs"
vagrant reload重启,搞定,NFS开始运行:
leo的个人博客 2024 | All Rights Reserved