Vagrant NFS synced_folders
After upgrading to Fedora 25 yesterday, Vagrant 1.8.5 in the updates repo was unusable with VirtualBox for 2 reasons:
- The newest centos/7 box didn’t use vbox guest additions for shared folders, forcing the use of NFS
- Vagrant issue 8138 which is not fixed in the newest RPM from Vagrant means I had to install from source.
This required two workarounds in my Vagrantfile:
- The setting config.vm.synced_folder requires the ‘type: "nfs"’ parameter.
- The config.vm.provision section required the ‘chef.synced_folder_type = "nfs"’ parameter.
This looks like the following now:
|
|