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:
parent
082504dea3
commit
8f0c8ce6ea
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user