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:
parent
4d6a664131
commit
273b3381fe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user