I have a LXD VM running Windows 11. What should I have to do in order to expose and mount a USB thumb drive on the host on the Windows 11 VM. The host is Ubuntu 22.04 running LXD 5.1. Any ideas?
You can either pass it as a USB device by using lxc config device add NAME my-drive usb vendorid=ID productid=ID
based on what you see in lsusb
.
Or you can pass it in as a disk with lxc config device add NAME my-drive disk source=/dev/sdX