use qcow2 as default format

This commit is contained in:
Dietmar Maurer 2013-02-18 13:15:52 +01:00
parent 4aa1ae60cb
commit 58d6726f19
2 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,8 @@ pve-manager (2.3-7) unstable; urgency=low
* Allow to set tablet option on the GUI
* use qcow2 format as default for directory and NFS storage
* cleanup RDB GUI (remove authsupported)
-- Proxmox Support Team <support@proxmox.com> Thu, 31 Jan 2013 07:16:13 +0100

View File

@ -147,7 +147,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
me.formatsel = Ext.create('PVE.form.DiskFormatSelector', {
name: 'diskformat',
fieldLabel: gettext('Format'),
value: 'raw',
value: 'qcow2',
allowBlank: false
});
@ -192,8 +192,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
} else if (rec.data.type === 'lvm' ||
rec.data.type === 'rbd' ||
rec.data.type === 'sheepdog' ||
rec.data.type === 'nexenta'
) {
rec.data.type === 'nexenta') {
me.hdfilesel.setDisabled(true);
me.hdfilesel.setVisible(false);
me.formatsel.setValue('raw');
@ -203,6 +202,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
} else {
me.hdfilesel.setDisabled(true);
me.hdfilesel.setVisible(false);
me.formatsel.setValue('qcow2');
me.formatsel.setDisabled(false);
me.hdsizesel.setDisabled(false);
me.hdsizesel.setVisible(true);