we had it previously on 8GB for containers, but with the refactoring,
this got lost. this patch changes this back
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
// hides the size field (e.g, for the efi disk dialog)
hideSize: false,
+ // sets the intial size value
+ // string because else we get a type confusion
+ defaultSize: '32',
+
changeStorage: function(f, value) {
var me = this;
var formatsel = me.getComponent('diskformat');
minValue: 0.001,
maxValue: 128*1024,
decimalPrecision: 3,
- value: '32',
+ value: me.defaultSize,
allowBlank: false
},
{
nodename: me.nodename,
storageContent: 'rootdir',
autoSelect: true,
+ defaultSize: 8,
hidden: me.unused || !me.isCreate
});