Skip to content

Commit

Permalink
script/gen-corpus.sh: set CEPH_CONF
Browse files Browse the repository at this point in the history
if we happen to run this script on a host where /etc/ceph/ceph.conf is
available, ceph CLI would use it instead. so, point it to $PWD/ceph.conf
instead.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Apr 12, 2021
1 parent d949768 commit fdb4f83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/script/gen-corpus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function run() {
MON=3 MGR=2 OSD=3 MDS=3 RGW=1 ../src/vstart.sh -n -x

local old_path="$PATH"
export PATH="bin:$PATH"
export PATH="$PWD/bin:$PATH"
export CEPH_CONF="$PWD/ceph.conf"
ceph osd pool create mypool
rados -p mypool bench 10 write -b 123
ceph osd out 0
Expand Down

0 comments on commit fdb4f83

Please sign in to comment.