I have a Ubuntu VM running in VirtualBox.
I have a Shared Folder set up as myshare
I have a folder created in my home directory (~/jamesw
) as host
.
using the line sudo mount -t vboxsf myshare host
from my home directory in Terminal mounts the drive correctly, but if I reboot it is not mounted again.
This is a VM I use for running a simple web server and I would like this Share mounted each time I boot.
Is there any way to do this? Especially given that it requires sudo?