How can I modify the libvirt.xml with OpenStack Juno?
I've noticed that starting from Juno version every modifications to the libvirt.xml file are replicated by OpenStack. Moreover, I've noticed that this is due to driver.py file that should create the libvirt.xml file.
So, is there any way to manually modify the libvirt.xml file? Do I need to modify the driver.py and/or config.py file in order to do that?
Can anyone give me an example of how I can add a device to a VM, avoiding that Openstack restores the libvirt.xml file?
what device you are looking to add?
I would like to add a serial port like this. <serial type="tcp"><source mode="connect" host="0.0.0.0" service="2445"/><protocol type="raw"/><target port="1"/></serial>
Moreover, I've edited the config.py file but it seams that when a reboot the instance this file is never called.