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