Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 579 Bytes

virtualbox-vagrant.md

File metadata and controls

20 lines (14 loc) · 579 Bytes

VirtualBox & Vagrant

Vagrant

Get guest ip
vagrant ssh -c "hostname -I | cut -d' ' -f2" 2>/dev/null
https://coderwall.com/p/etzdmq/get-vagrant-box-guest-ip-from-host

VirtualBox

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"

# 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 {} /{}'