mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
use elif instead of else to handle cases for jewel install
jewel needs neither filestore or bluestore as an option, so provide none when running with jewel branch. Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
This commit is contained in:
parent
9c85c76a90
commit
f3ec7cabf6
@ -342,7 +342,7 @@ def build_ceph_cluster(ctx, config):
|
||||
# first check for filestore, default is bluestore with ceph-deploy
|
||||
if config.get('filestore') is not None:
|
||||
osd_create_cmd += '--filestore '
|
||||
else:
|
||||
elif config.get('bluestore') is not None:
|
||||
osd_create_cmd += '--bluestore '
|
||||
if config.get('dmcrypt') is not None:
|
||||
osd_create_cmd += '--dmcrypt '
|
||||
|
Loading…
Reference in New Issue
Block a user