1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

F #4150: show template name in vCenter (#4350)

Signed-off-by: Carlos Herrera <cherrera@opennebula.systems>
This commit is contained in:
Carlos J. Herrera 2020-03-12 05:20:44 -04:00 committed by GitHub
parent e4c738ca27
commit a43e5c3812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2047,6 +2047,9 @@ module VCenterDriver
# Update the template reference
new_template.update("VCENTER_TEMPLATE_REF=#{@item._ref}", true)
# Add vCenter template name
new_template.update("VCENTER_TEMPLATE_NAME=#{@item.name}", true)
end
def resize_unmanaged_disks
@ -2557,7 +2560,7 @@ module VCenterDriver
# this function is used to instantiate vcenter vms
#
# @param vi_client [vi_client] the vcenterdriver client that allows the connection
# @param drv_action [xmleleent] driver_action that contains the info
# @param drv_action [xmlelement] driver_action that contains the info
# @param id [int] the if of the opennebula virtual machine
#
# @return [vcenterdriver::vm] the virtual machine