Commit 806803e9 authored by Dietmar Maurer's avatar Dietmar Maurer

remove 'Default' from onboot, must be yes/no

parent a11d7299
...@@ -207,7 +207,7 @@ Ext.define('PVE.Utils', { statics: { ...@@ -207,7 +207,7 @@ Ext.define('PVE.Utils', { statics: {
render_kvm_vga_driver: function (value) { render_kvm_vga_driver: function (value) {
if (!value) { if (!value) {
return 'Default'; return 'OS default';
} }
var text = PVE.Utils.kvm_vga_drivers[value]; var text = PVE.Utils.kvm_vga_drivers[value];
if (text) { if (text) {
......
...@@ -37,14 +37,16 @@ Ext.define('PVE.qemu.Options', { ...@@ -37,14 +37,16 @@ Ext.define('PVE.qemu.Options', {
onboot: { onboot: {
header: 'Start at boot', header: 'Start at boot',
defaultValue: '', defaultValue: '',
renderer: PVE.Utils.format_boolean_with_default, renderer: PVE.Utils.format_boolean,
editor: { editor: {
xtype: 'pveWindowEdit', xtype: 'pveWindowEdit',
title: 'Start at boot', title: 'Start at boot',
items: { items: {
xtype: 'booleanfield', xtype: 'pvecheckbox',
name: 'onboot', name: 'onboot',
value: '', uncheckedValue: 0,
defaultValue: 0,
deleteDefaultValue: true,
fieldLabel: 'Start at boot' fieldLabel: 'Start at boot'
} }
} }
......
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