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