How can I modify the libvirt.xml with OpenStack Juno?

asked 2015-12-01 11:47:50 -0600

UgoGio gravatar image

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 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 and/or 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?

edit retag flag offensive close merge delete


what device you are looking to add?

fgorbat gravatar imagefgorbat ( 2015-12-02 08:38:18 -0600 )edit

I would like to add a serial port like this. <serial type="tcp"><source mode="connect" host="" service="2445"/><protocol type="raw"/><target port="1"/></serial>

UgoGio gravatar imageUgoGio ( 2015-12-02 08:56:14 -0600 )edit

Moreover, I've edited the file but it seams that when a reboot the instance this file is never called.

UgoGio gravatar imageUgoGio ( 2015-12-02 08:57:47 -0600 )edit