mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
F #4913: Replace ESX_HOST with VCENTER_ESX_HOST
This commit is contained in:
1 parent
db141b0769
commit
5de8b2fd83
1 file changed
+2
-2
@@ -208,8 +208,8 @@ class OpenNebulaVNC
|
||||
vnc_port = vm_resource['TEMPLATE/GRAPHICS/PORT']
|
||||
vnc_pw = vm_resource['TEMPLATE/GRAPHICS/PASSWD']
|
||||
|
||||
if vm_resource['MONITORING/ESX_HOST'] # It is behind a vCenter
|
||||
host = vm_resource['MONITORING/ESX_HOST']
|
||||
if vm_resource['MONITORING/VCENTER_ESX_HOST'] # It is behind a vCenter
|
||||
host = vm_resource['MONITORING/VCENTER_ESX_HOST']
|
||||
end
|
||||
|
||||
# Generate token random_str: host:port
|
||||
|
||||
Reference in new issue
Block a user