Specify the shared folder in VirtualBox (either storage options, or in the Devices/Shared Folders menu in a
VM instance)
In the VM, Set that folder to be automounted each login: * mkdir directory you want to mount to * Add relevant text to /etc/rc.local:
mount -t vboxsf share /home/<username>/host
- You might want to add relevant perms options at end of above lines, eg " -o uid=myuser,gid=myuser
One quick way to get access to automounted folders in /media: run "sudo usermod -a -G vboxsf username" where username is your username on the VM, to get added to the appropriate group.
For Ubuntu machines - otherwise its very slow to boot and is waiting on network stuff...
- Either:
- before cloning:
- sudo rm -f /etc/udev/rules.d/70-persistent-net.rules
- Or after cloning, on the clone, do the same.
- Refs:
http://virtualboxes.org/images/ubuntu-server/
- To make more user-friendly, keyboard, mouse stuff:-
- sudo dpkg-reconfigure keyboard-configuration
- Refs: