我正在尝试更改我的 VagrantFile 以便它使用 NFS 挂载而不是默认的 VirtualBox 共享文件夹。
我收到此错误消息:
vm:
* Shared folders that have NFS enabled do not support owner/group
attributes. Host path: .
这是我的流浪文件:
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ktbartholomew/lamp"
config.vm.network "private_network", type: "dhcp"
config.vm.synced_folder ".", "/vagrant", type: "nfs"
end
我看不到任何所有者或组正在设置。
请帮忙!谢谢