The syntax for enabling an NFS folder share in Vagrant is commonly posted as:
config.vm.synced_folder "<HOST_DIR>", "<VM_DIR>", id: "???", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]
Note the id
argument. I've read the Vagrant docs at https://docs.vagrantup.com/v2/synced-folders/basic_usage.html, but this option isn't mentioned.
Given its frequent use in Vagrantfiles, I assume this option is relevant, if not mandatory. What exactly does it do?