This branch contains the fix for lp:749973. VNC is assumed that is default for all in libvirt which LXC does not support yet.

Regards
chuck
This commit is contained in:
Chuck Short 2011-04-05 17:42:38 +00:00 committed by Tarmac
commit 4eb3bbdee4

View File

@ -970,6 +970,7 @@ class LibvirtConnection(driver.ComputeDriver):
'nics': nics} 'nics': nics}
if FLAGS.vnc_enabled: if FLAGS.vnc_enabled:
if FLAGS.libvirt_type != 'lxc':
xml_info['vncserver_host'] = FLAGS.vncserver_host xml_info['vncserver_host'] = FLAGS.vncserver_host
if not rescue: if not rescue:
if instance['kernel_id']: if instance['kernel_id']: