我将使用NFS挂载而不是默认的VirtualBox共享文件夹来更改我的VagrantFile。
这是我的 VagrantFile 文件:
我收到以下错误信息:
vm:
* Shared folders that have NFS enabled do not support owner/group
attributes. Host path: .
这是我的 VagrantFile 文件:
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
我看不到任何所有者或组的设置。
请帮忙!谢谢。