diff --git a/virtualbox-vagrant.md b/virtualbox-vagrant.md index d24f29b..6bdfa6f 100644 --- a/virtualbox-vagrant.md +++ b/virtualbox-vagrant.md @@ -10,4 +10,11 @@ https://coderwall.com/p/etzdmq/get-vagrant-box-guest-ip-from-host UUID Already exists http://www.groovypost.com/howto/virtualbox-error-uuid-hard-disk/ -`vboxmanage.exe internalcommands sethduuid "D:\vdocs\vdisc\jenkins-0.001\box-disk1_2.vmdk"` \ No newline at end of file +`vboxmanage.exe internalcommands sethduuid "D:\vdocs\vdisc\jenkins-0.001\box-disk1_2.vmdk"` + + +```bash +# Setup mounts in guest os +sudo su - +VBoxControl sharedfolder list | tail -n +7 | cut -d' ' -f3 | xargs -I{} sh -c 'echo mkdir -p /{} ; echo mount -t vboxsf {} /{}' +``` \ No newline at end of file