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

This commit is contained in:
Tino Vazquez committed 2015-09-30 19:36:06 +02:00
1 parent 082504dea3
commit 8f0c8ce6ea
1 file changed
+1 -1
@@ -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