]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: fix -o ceph.conf options processing 38702/head
authorMark Kogan <mkogan@redhat.com>
Wed, 23 Dec 2020 11:54:32 +0000 (13:54 +0200)
committerMark Kogan <mkogan@redhat.com>
Wed, 23 Dec 2020 11:59:44 +0000 (13:59 +0200)
options passed to vstart.sh via the -o param and bunched on the same
line without line termination between them
hence not being parsed.

ex:
```
cat ./ceph.conf
...
debug_ms=0 debug_objecter=0 bluestore_debug_enforce_settings=ssd
bluestore_block_size=214748364800
...
```

Fixes: https://tracker.ceph.com/issues/48708
Signed-off-by: Mark Kogan <mkogan@redhat.com>
src/vstart.sh

index 50130833b6c8a29fa28027a67a86ca299c5c4960..b3f8993c20ca536d841afcb4ba395c622d468d2a 100755 (executable)
@@ -408,7 +408,8 @@ case $1 in
         shift
         ;;
     -o)
-        extra_conf="$extra_conf        $2"
+        extra_conf="$extra_conf        $2
+"
         shift
         ;;
     --cache)