Commit 0b6dc281 authored by Dietmar Maurer's avatar Dietmar Maurer

RBD: select 'images' content type by default

because we also do not set KRBD flag by default.
parent 5a50dbf6
...@@ -6,8 +6,6 @@ Ext.define('PVE.storage.RBDInputPanel', { ...@@ -6,8 +6,6 @@ Ext.define('PVE.storage.RBDInputPanel', {
if (me.create) { if (me.create) {
values.type = 'rbd'; values.type = 'rbd';
values.content = 'images';
} else { } else {
delete values.storage; delete values.storage;
} }
...@@ -71,7 +69,7 @@ Ext.define('PVE.storage.RBDInputPanel', { ...@@ -71,7 +69,7 @@ Ext.define('PVE.storage.RBDInputPanel', {
cts: ['images', 'rootdir'], cts: ['images', 'rootdir'],
fieldLabel: gettext('Content'), fieldLabel: gettext('Content'),
name: 'content', name: 'content',
value: ['images', 'rootdir'], value: ['images'],
multiSelect: true, multiSelect: true,
allowBlank: false allowBlank: false
}, },
......
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