how do i attach a virtual-device to an instance?

asked 2018-08-09 15:04:12 -0500

rickwoof gravatar image

I would like to add a serial device to an instance. In libvirt, I would execute: virsh attach-device <domain> device.xml --persistent and start the instance back up. When I attempt the same in OpenStack the instance shuts down ~30 seconds later.

I've looked through /usr/python-2.7/site-packages/nova/virt/libvirt/driver.py but I am not sure what I need to do to get the desired results.

edit retag flag offensive close merge delete