Ask Your Question

Revision history [back]

Select VNC or SPICE console by default

Hi all,

I have configured VNC console and SPICE console in NOVA. Both of them are enabled on nova.conf file and if I create a new virtual machine /etc/libvirt/qemu/instance-whatever.xml file has 2 graphics-tag lines.

<graphics type='vnc' port='-1' autoport='yes' listen='myip' keymap='en-us'>
  <listen type='address' address='myip'/>
</graphics>
<graphics type='spice' autoport='yes' listen='myip' keymap='en-us'>
  <listen type='address' address='myip'/>
</graphics>

So far so good. Now, the new VM will use, by default, VNC console and not SPICE console... and I don't know why.

So, my question is: If I have enabled VNC and SPICE console on nova.conf file, Is there some configuration to achieve that you can choose the console you want for a new VM?