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

F #4150: save as template with template name (#4365)

Signed-off-by: Carlos Herrera <cherrera@opennebula.systems>
This commit is contained in:
Carlos J. Herrera 2020-03-16 12:37:56 -04:00 committed by GitHub
parent 66caf86e36
commit ab9b08dc74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1251,6 +1251,8 @@ class VmImporter < VCenterDriver::VcImporter
working_template[:one] << "VCENTER_VM_FOLDER=\"#{opts[:folder]}\"\n" if deploy_in_folder
working_template[:one] << "VCENTER_TEMPLATE_NAME=\"#{selected[:name]}\"\n"
create(working_template[:one]) do |one_object, id|
res[:id] << id