From c8a06ce1ee4eff857cc9539ddedd503cd1712105 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 3 Oct 2016 14:52:38 -0400 Subject: [PATCH] do_cmake.sh: set .ceph_port to random port Signed-off-by: Sage Weil --- do_cmake.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/do_cmake.sh b/do_cmake.sh index 9d3c3c1ed44..71340376695 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -8,9 +8,13 @@ mkdir build cd build cmake $@ .. +# minimal config to find plugins cat < ceph.conf plugin dir = lib erasure code dir = lib EOF +# give vstart a (hopefully) unique mon port to start with +echo $(( RANDOM % 1000 + 40000 )) > .ceph_port + echo done. -- 2.39.5