How to specify a serial/console pty in nova?
I have a user that would like to run a non-pv-enabled VM (VXWorks) in our openstack cluster.
This VM runs a serial console on on '/dev/pts/2'. So, I have a simple libvirt.xml file where I can boot the VM and access it's console, using this stanza:
<console type='pty' tty='/dev/pts/2'> <source path='/dev/pts/2'/> <target type='serial' port='0'/> <alias name='serial0'/> </console>
I notice that when I import this qcow2 image into glance and boot it, openstack creates the following:
<serial type='pty'> <source path='/dev/pts/0'/> <target port='1'/> <alias name='serial1'/> </serial>
I wonder how I can specify a different source path/target when booting this instance using nova.