]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: set objectstore to "cyanstore" if --cyanstore is specified
authorKefu Chai <kchai@redhat.com>
Sun, 25 Jul 2021 06:27:53 +0000 (14:27 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 25 Jul 2021 06:28:02 +0000 (14:28 +0800)
in e6ed65db8b4e0a2f8026c2e35a12dd292c5f2b8c, "cyanstore" is added to the
help message of vstart.sh, but we should also check for this option, and
set the ceph option accordingly.

in this change, the option is checked and "objectstore" is updated
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/vstart.sh

index cec6104cf1b327c496a5716c915e2a8658e1b3f0..42aad4f1016d219f3f1459340628042a15055d4c 100755 (executable)
@@ -413,6 +413,9 @@ case $1 in
     --memstore)
         objectstore="memstore"
         ;;
+    --cyanstore)
+        objectstore="cyanstore"
+        ;;
     --seastore)
         objectstore="seastore"
         ;;