Install Guest Tools in Ubuntu
For VirtIO-FS or SPICE WebDAV to function correctly, you need the appropriate guest tools installed. Open a terminal in your Ubuntu VM and run the following command to ensure they are present
bash
sudo apt update
sudo apt install spice-vdagent spice-webdavd davfs2
If you've configured a VirtIO-FS share in UTM's settings, you'll need to manually mount it.
Create a directory where you will mount the shared folder:
bash
mkdir ~/shared
Mount the shared folder using the virtiofs type. The share name used by UTM is typically share.
bash
sudo mount -t virtiofs share ~/shared
You can now access your shared files in the ~/shared directory.
To make the mount permanent, you can add an entry to your /etc/fstab file, which will automatically mount the directory on boot.
Top comments (0)