mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-29 17:15:55 +00:00
remove 'Default' from onboot, must be yes/no
This commit is contained in:
parent
1689bc3391
commit
133362cad4
@ -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', {
|
|||||||
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user