mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #510: Added virtio disk BUS options to KVM wizard in VM plugin
This commit is contained in:
parent
1e342487be
commit
0cbff4827a
@ -1026,9 +1026,14 @@ function setupCreateVMDialog(){
|
||||
|
||||
$('select#boot_method option').removeAttr("selected");
|
||||
$('select#boot_method option#no_boot').html("Driver default");
|
||||
$('select#boot_method option').removeAttr("selected");
|
||||
$('select#boot_method option').removeAttr("selected");
|
||||
$('.kernel, .bootloader', $('div#os_boot_opts')).hide();
|
||||
|
||||
$('div#disks select#BUS').append(
|
||||
'<option id="virtio" value="virtio">virtio</option>');
|
||||
|
||||
|
||||
|
||||
$('input#TYPE', section_raw).val("kvm");
|
||||
|
||||
$(section_inputs).show();
|
||||
@ -1056,6 +1061,7 @@ function setupCreateVMDialog(){
|
||||
$('select#boot_method option#no_boot').html("Please choose");
|
||||
$('.kernel, .bootloader', $('div#os_boot_opts')).hide();
|
||||
|
||||
$('div#disks select#BUS option#virtio').remove();
|
||||
|
||||
$('input#TYPE', section_raw).val("xen");
|
||||
$(section_inputs).hide(); //not present for xen
|
||||
|
Loading…
x
Reference in New Issue
Block a user