Revision 6b405598 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
597 | 597 |
if hvp[constants.HV_VNC_BIND_ADDRESS] is None: |
598 | 598 |
config.write("vnclisten = '%s'\n" % constants.VNC_DEFAULT_BIND_ADDRESS) |
599 | 599 |
else: |
600 |
config.write("vnclisten = '%s'\n" % hvp["vnc_bind_address"])
|
|
600 |
config.write("vnclisten = '%s'\n" % hvp[constants.HV_VNC_BIND_ADDRESS])
|
|
601 | 601 |
|
602 | 602 |
if instance.network_port > constants.VNC_BASE_PORT: |
603 | 603 |
display = instance.network_port - constants.VNC_BASE_PORT |
Also available in: Unified diff