Commit 10eb2495 authored by Dietmar Maurer's avatar Dietmar Maurer

change default boot order to cdn

And disable Floppy option (till now we do not support floppies)
parent ca6273d7
......@@ -38,7 +38,7 @@ Ext.define('PVE.qemu.BootOrderPanel', {
me.vmconfig = vmconfig;
var order = me.vmconfig.boot || 'cad';
var order = me.vmconfig.boot || 'cdn';
me.bootdisk = me.vmconfig.bootdisk;
if (!me.vmconfig[me.bootdisk]) {
me.bootdisk = undefined;
......@@ -73,9 +73,9 @@ Ext.define('PVE.qemu.BootOrderPanel', {
if (sel1 !== 'n' && (sel2 !== 'n')) {
list.push(['n', 'Network']);
}
if (sel1 !== 'a' && (sel2 !== 'a')) {
list.push(['a', 'Floppy']);
}
//if (sel1 !== 'a' && (sel2 !== 'a')) {
// list.push(['a', 'Floppy']);
//}
if (includeNone) {
list.push(['', 'None']);
......
......@@ -62,13 +62,13 @@ Ext.define('PVE.qemu.Options', {
},
boot: {
header: 'Boot order',
defaultValue: 'cad',
defaultValue: 'cdn',
editor: 'PVE.qemu.BootOrderEdit',
renderer: function(order) {
var i;
var text = '';
var bootdisk = me.getObjectValue('bootdisk');
order = order || 'cad';
order = order || 'cdn';
for (i = 0; i < order.length; i++) {
var sel = order.substring(i, i + 1);
if (text) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment