Note
This is a guide to quickly set up a shared folder between Ubuntu Virtual Machine and Ubuntu Host Machine.
- Set
Enable shared memoryto true for the instance. See screenshot below:
- Add
New Virtual Hardware. See screenshot below:
- Install the following dependencies in Virtual Machine:
sudo apt update -y && sudo apt install -y spice-vdagent qemu-guest-agentAdd the following line to the end of etc/fstab:
sudo nano /etc/fstabshared_folder /mnt/host virtiofs defaults,nofail 0 0Run the command below and you should see no errors:
sudo mount -a