F #4913: Replace ESX_HOST with VCENTER_ESX_HOST

This commit is contained in:
mcabrerizo committed 2017-03-06 09:33:44 +01:00
1 parent db141b0769
commit 5de8b2fd83
1 file changed
+2 -2
+2 -2
View File
@@ -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