make bluestore the default on the api

with this we also have to send '0' to from the frontend, when the
bluestore checkbox is not checked

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2017-10-20 11:44:25 +02:00 committed by Wolfgang Bumiller
parent 41783c07d9
commit 815a2bc1a7
2 changed files with 4 additions and 3 deletions

View File

@ -212,9 +212,9 @@ __PACKAGE__->register_method ({
optional => 1,
},
bluestore => {
description => "Use bluestore instead of filestore.",
description => "Use bluestore instead of filestore. This is the default.",
type => 'boolean',
default => 0,
default => 1,
optional => 1,
},
},
@ -236,7 +236,7 @@ __PACKAGE__->register_method ({
PVE::CephTools::check_ceph_installed('ceph_osd');
my $bluestore = $param->{bluestore} // 0;
my $bluestore = $param->{bluestore} // 1;
my $journal_dev;
my $wal_dev;

View File

@ -119,6 +119,7 @@ Ext.define('PVE.CephCreateOsd', {
xtype: 'pvecheckbox',
name: 'bluestore',
fieldLabel: 'Bluestore',
uncheckedValue: '0',
value: '1'
}
]