1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-27 14:03:40 +03:00

Feature #4016: Use VM name in vCenter to identify the VM

This commit is contained in:
Tino Vazquez 2015-09-30 19:33:51 +02:00
parent 082504dea3
commit 8f0c8ce6ea

View File

@ -1382,7 +1382,7 @@ private
begin
vm = vc_template.CloneVM_Task(
:folder => vc_template.parent,
:name => "one-#{vmid}",
:name => xml.root.elements["/VM/NAME"].text,
:spec => clone_spec).wait_for_completion
rescue Exception => e