1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #3718: Change ESX_HOST attribute location for VNC

This commit is contained in:
Tino Vazquez 2015-07-10 17:18:26 +02:00
parent 4d6a664131
commit 273b3381fe

View File

@ -203,8 +203,8 @@ class OpenNebulaVNC
vnc_port = vm_resource['TEMPLATE/GRAPHICS/PORT']
vnc_pw = vm_resource['TEMPLATE/GRAPHICS/PASSWD']
if vm_resource['TEMPLATE/ESX_HOST'] # It is behind a vCenter
host = vm_resource['TEMPLATE/ESX_HOST']
if vm_resource['MONITORING/ESX_HOST'] # It is behind a vCenter
host = vm_resource['MONITORING/ESX_HOST']
end
# Generate token random_str: host:port