usb-libvirt-hotplug icon indicating copy to clipboard operation
usb-libvirt-hotplug copied to clipboard

Can not attach device via stdin but via file

Open d3vr4ndOm opened this issue 7 years ago • 2 comments

I was not able to attach the device with the following script. As workaround a write a temporary XML file and pass the path as parameter. I changed the script to:

cat <<EOT > /tmp/device2attach

EOT

virsh ${COMMAND} ${DOMAIN} --file /tmp/device2attach

d3vr4ndOm avatar Oct 15 '18 08:10 d3vr4ndOm

Hey I know this is old, but could you show more of your script.. I tried to do the same. and it's not working..

Axachi avatar Mar 27 '20 20:03 Axachi