]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: modify FreeBSD objectstore to memstore. 51588/head
authorRongqi Sun <sunrongqi@huawei.com>
Tue, 16 May 2023 07:23:52 +0000 (15:23 +0800)
committerRongqi Sun <sunrongqi@huawei.com>
Tue, 23 May 2023 02:55:37 +0000 (10:55 +0800)
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit 27e66f506f10dca7018c10e3e1804f0b3c217b8e)

src/vstart.sh

index 1aa6c1defc8183250bf65c0d83c5e1560659ac10..80cfaea97cd8bffda9ff801fd3958f11e2e01a01 100755 (executable)
@@ -160,7 +160,11 @@ overwrite_conf=0
 cephx=1 #turn cephx on by default
 gssapi_authx=0
 cache=""
-objectstore="bluestore"
+if [ `uname` = FreeBSD ]; then
+    objectstore="memstore"
+else
+    objectstore="bluestore"
+fi
 ceph_osd=ceph-osd
 rgw_frontend="beast"
 rgw_compression=""