Hello,
the trick on udev run an script.. so you can do
umount /media/sf_vagrant
mount -t vboxsf -o "options_here" vagrant /vagrant
second, vagrant on start (up/reload) clear all the shared folders and
create the ones defined on vagrantfile
so, vagrant doesn't suffer this problem, and is done as I see it to
remove any shared folder that may have been left in the vm (not sure
if possible at all), and to process changes you may have done .
as I see your problem, you have a VM you want to distribute to 2
different end users.. Vagrant, and non-vagrant
if you look at packer,io you can use that with virtualbox-ovf and
start with a pre-existing vm, and use the output/post-processor to
create 2 vms.. one OVA for double click, gui, on.. experience and one
BOX for vagrant
perhaps that will help you to control more the distribution of the VMs
Alvaro.