Attach external drive based on drive ID - Redux

I’m taking another crack at auto attaching a drive to a target qube, when the drive ID is found.

I’m able to extract device ID, bus #, device #, device name.

How do I take those params and translate them to the qvm-usb attach sys-usb:#-# command?

1 Like