How to modify standard template for instance to include console type pty?

asked 2015-09-28 10:42:54 -0500

nubber gravatar image

Is there a way to create the custom instance template. Not all libvirt properties are available in glance. For example:

libvirt template created manually:

 <serial type='pty'>
      <source path='/dev/pts/4'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/4'>
      <source path='/dev/pts/4'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
edit retag flag offensive close merge delete