Dont configure vnc if we are using lxc
This commit is contained in:
parent
c0a8904508
commit
f1f8e00dc4
@ -970,6 +970,7 @@ class LibvirtConnection(driver.ComputeDriver):
|
||||
'nics': nics}
|
||||
|
||||
if FLAGS.vnc_enabled:
|
||||
if FLAGS.libvirt_type != 'lxc':
|
||||
xml_info['vncserver_host'] = FLAGS.vncserver_host
|
||||
if not rescue:
|
||||
if instance['kernel_id']:
|
||||
|
Loading…
Reference in New Issue
Block a user