mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-29 17:31:06 +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) {
|
||||
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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user