mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-18 02:42:54 +09:00
Bug #1314: Side-effect from previous commit, VMs were instantiated with wrong name when no name is provided.
(cherry picked from commit ce9c84a35480bc872f76c3580085ebd145e3d3cd)
This commit is contained in:
1 parent
83ff9e0d63
commit
ee3ddaced4
1 file changed
+1
-1
@@ -1334,7 +1334,7 @@ function setupCreateVMDialog(){
|
||||
};
|
||||
|
||||
if (!vm_name.length){
|
||||
vm_name = $('#template_id option:selected',this).text();
|
||||
vm_name = getTemplateName(template_id);
|
||||
};
|
||||
|
||||
if (vm_name.indexOf("%i") == -1){ //no wildcard
|
||||
|
||||
Reference in new issue
Block a user