1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Bug #511: Fixed OS generation section and x86_84 ARCH type in the wizards in

the VM plugin
This commit is contained in:
Hector Sanjuan 2011-03-28 15:22:27 +02:00
parent 0cbff4827a
commit eaf6db115d

View File

@ -101,7 +101,7 @@ var create_vm_tmpl =
<label for="ARCH">Architecture:</label>\
<select id="ARCH" name="arch">\
<option value="i686">i686</option>\
<option value="x86-64">x86-64</option>\
<option value="x86_64">x86_64</option>\
</select>\
<div class="tip">CPU architecture to virtualization</div>\
</div>\
@ -1652,7 +1652,8 @@ function setupCreateVMDialog(){
notifyError("There are mandatory fields missing in the OS Boot options section");
return false;
};
addSectionJSON(vm_json,scope);
vm_json["OS"] = {};
addSectionJSON(vm_json["OS"],scope);
//process disks -> fetch from box
scope = section_disks;