mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 02:28:34 +00:00
ui: make vmstatestorage configureable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
8717893448
commit
ab84ee7415
@ -296,6 +296,27 @@ Ext.define('PVE.qemu.Options', {
|
|||||||
}
|
}
|
||||||
} : undefined
|
} : undefined
|
||||||
},
|
},
|
||||||
|
vmstatestorage: {
|
||||||
|
header: gettext('VM State storage'),
|
||||||
|
defaultValue: '',
|
||||||
|
renderer: val => val || gettext('Automatic'),
|
||||||
|
editor: caps.vms['VM.Config.Options'] ? {
|
||||||
|
xtype: 'proxmoxWindowEdit',
|
||||||
|
subject: gettext('VM State storage'),
|
||||||
|
onlineHelp: 'qm_vmstatestorage',
|
||||||
|
items: {
|
||||||
|
xtype: 'pveStorageSelector',
|
||||||
|
storageContent: 'images',
|
||||||
|
allowBlank: true,
|
||||||
|
emptyText: gettext('Automatic'),
|
||||||
|
autoSelect: false,
|
||||||
|
deleteEmpty: true,
|
||||||
|
skipEmptyText: true,
|
||||||
|
nodename: nodename,
|
||||||
|
name: 'vmstatestorage',
|
||||||
|
}
|
||||||
|
} : undefined
|
||||||
|
},
|
||||||
hookscript: {
|
hookscript: {
|
||||||
header: gettext('Hookscript')
|
header: gettext('Hookscript')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user