diff options
author | Samuel Just <sjust@redhat.com> | 2022-10-13 02:58:24 +0200 |
---|---|---|
committer | Samuel Just <sjust@redhat.com> | 2023-02-14 07:36:35 +0100 |
commit | 984ca4c7921ca0060d6d76ec8163b56242dd1222 (patch) | |
tree | 6f7dc488ab19cca5d4a956773ff1950856ac3959 /src | |
parent | qa/config/crimson_qa_overrides: set osd_pool_default_crimson (diff) | |
download | ceph-984ca4c7921ca0060d6d76ec8163b56242dd1222.tar.xz ceph-984ca4c7921ca0060d6d76ec8163b56242dd1222.zip |
vstart: set osd_pool_default_crimson for crimson clusters
Signed-off-by: Samuel Just <sjust@redhat.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/vstart.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vstart.sh b/src/vstart.sh index 2802f49d6b5..4f85b9fed2a 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -852,6 +852,12 @@ $CMONDEBUG osd pool default erasure code profile = plugin=jerasure technique=reed_sol_van k=2 m=1 crush-failure-domain=osd auth allow insecure global id reclaim = false EOF + + if [ "$crimson" -eq 1 ]; then + wconf <<EOF + osd pool default crimson = true +EOF + fi } write_logrotate_conf() { |