Closed andygrunwald closed 10 years ago
This is fixed in git.
Any info on when a patch release would go out with the fix - or what sha this fix is in?
The fix is included in master which heads for 1.5.0, but that will probably take some more time.
I offer to backport this and some others (which ones?) if @mitchellh agrees to make one more 1.4.x release.
That would be a huge help if 1.5 is going to be a while yet. We use this for many omnibus builds on a bunch of freebsd releases so it impacts us quite a bit. Would really appreciate it if it's possible. Thanks @tmatilai
The fix in master is part of a bigger change: 040e1a2e
But the fix should be trivial (also if you want to hot fix it locally). Just replace this line with (untested):
:type => (@config.nfs ? :nfs : nil))
@tmatilai Absolutely brilliant! This workaround works for me. Thanks for unblocking me - really appreciate it.
As an FYI for others - I've added this to my Vagrant file so other people internally using this project don't run into the problem.
@petecheslock @mitchellh i have vagrant version 1.6 and i still see the porblem. I am on windows. any pointers? ( I tried adding this to my vagrant file .. did not help)
==> default: Mounting shared folders... default: /vagrant => H:/office projects/interface_poller Vagrant attempted to execute the capability 'mount_virtualbox_shared_folder' on the detect guest OS 'freebsd', but the guest doesn't support that capability. This capability is required for your configuration of Vagrant. Please either reconfigure Vagrant to avoid this capability or fix the issue by creating the capability.
H:\office projects\interface_poller>vagrant version Installed Version: 1.6.3 Latest Version: 1.6.5
@Neetuj as far as I know, NFS is not supported on Windows hosts. You might want to try using samba or rsync.
will try thanks!
During a provisioning with Chef-Solo, a synced_folder will be created, to make the cookbooks available on guest machine. Since documentation it is possible to force this synced_folder to use NFS (chef.nfs = true).
If you use FreeBSD as GuestOS this is necessary, because FreeBSD does not support native synced_folders. The mentioned setting seems not to work as expected. Or did i / understand i something wrong?
Vagrant: 1.4.2 VirtualBox: 4.3.6 OS: Ubuntu 12.04
VagrantFile
Cheffile
Vagrant up
Can anyone reproduce this problem? Do you need further information?