vagrant synced_folders and VBoxInternal2/SharedFoldersEnableSymlinksCreate

ok here's the deal

I'm running vagrant(ubunttu 12.10) on top of windows 8 but everytime I try to create a virtualenv (python) from within my non nfs shared folder I get a 'Protocol error', turns out that virtualbox does not allow sym-linking by default but one can use this to enable it per share

VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME", "1"

the thing is that the latest vagrant no longer accepts a 'name/alias' for my shares, how am I supposed to refer to it from that setting? if my share is /var/www ?

# # Use VBoxManage to customize the VM. For example to change memory: # vb.customize ["modifyvm", :id, "--memory", "1024"] # end # # View the documentation for the provider you're using for more # information on available options.

vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME", "1"]

any help will be appreciated.


I answered this question in a different context on Stackoverflow: https://stackoverflow.com/a/21450513/1867779

Here's the summary, assuming Vagrant is making /vagrant the shared folder:

config.vm.provider :virtualbox do |vb|
  vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate//vagrant","1"]
end