A set of command line tools and a service to make setting up passthrough USB devices easier:
attach-usb-devices
- script and service to automatically connect USB devices to VMS when XCP-ng boots upplug-usb
- attach a physical USB device to a VM in one commandunplug-usb
- remove a physical USB device from a VM in one command
To set up, copy the files onto your server and run install.sh
to copy everything and set up the service.
You can add any plug-usb
commands you want to run on boot by modifying /usr/bin/attach-usb-devices
.