Commit 58d6726f authored by Dietmar Maurer's avatar Dietmar Maurer

use qcow2 as default format

parent 4aa1ae60
...@@ -8,6 +8,8 @@ pve-manager (2.3-7) unstable; urgency=low ...@@ -8,6 +8,8 @@ pve-manager (2.3-7) unstable; urgency=low
* Allow to set tablet option on the GUI * Allow to set tablet option on the GUI
* use qcow2 format as default for directory and NFS storage
* cleanup RDB GUI (remove authsupported) * cleanup RDB GUI (remove authsupported)
-- Proxmox Support Team <support@proxmox.com> Thu, 31 Jan 2013 07:16:13 +0100 -- Proxmox Support Team <support@proxmox.com> Thu, 31 Jan 2013 07:16:13 +0100
......
...@@ -147,7 +147,7 @@ Ext.define('PVE.qemu.HDInputPanel', { ...@@ -147,7 +147,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
me.formatsel = Ext.create('PVE.form.DiskFormatSelector', { me.formatsel = Ext.create('PVE.form.DiskFormatSelector', {
name: 'diskformat', name: 'diskformat',
fieldLabel: gettext('Format'), fieldLabel: gettext('Format'),
value: 'raw', value: 'qcow2',
allowBlank: false allowBlank: false
}); });
...@@ -192,8 +192,7 @@ Ext.define('PVE.qemu.HDInputPanel', { ...@@ -192,8 +192,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
} else if (rec.data.type === 'lvm' || } else if (rec.data.type === 'lvm' ||
rec.data.type === 'rbd' || rec.data.type === 'rbd' ||
rec.data.type === 'sheepdog' || rec.data.type === 'sheepdog' ||
rec.data.type === 'nexenta' rec.data.type === 'nexenta') {
) {
me.hdfilesel.setDisabled(true); me.hdfilesel.setDisabled(true);
me.hdfilesel.setVisible(false); me.hdfilesel.setVisible(false);
me.formatsel.setValue('raw'); me.formatsel.setValue('raw');
...@@ -203,6 +202,7 @@ Ext.define('PVE.qemu.HDInputPanel', { ...@@ -203,6 +202,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
} else { } else {
me.hdfilesel.setDisabled(true); me.hdfilesel.setDisabled(true);
me.hdfilesel.setVisible(false); me.hdfilesel.setVisible(false);
me.formatsel.setValue('qcow2');
me.formatsel.setDisabled(false); me.formatsel.setDisabled(false);
me.hdsizesel.setDisabled(false); me.hdsizesel.setDisabled(false);
me.hdsizesel.setVisible(true); me.hdsizesel.setVisible(true);
......
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