From: Yehuda Sadeh Date: Tue, 8 Dec 2015 17:36:47 +0000 (-0800) Subject: mrun: a tool to run commands against specific mstart cluster X-Git-Tag: v10.0.2~50^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=df92e267183e2ea68cc97b4409a6efe463cd38ee;p=ceph.git mrun: a tool to run commands against specific mstart cluster E.g., $ ./mstart.sh foo -n $ ./mrun foo ceph -s Signed-off-by: Yehuda Sadeh --- diff --git a/src/mrun b/src/mrun new file mode 100755 index 000000000000..977eb24be7b3 --- /dev/null +++ b/src/mrun @@ -0,0 +1,11 @@ +#!/bin/sh + +[ $# -lt 2 ] && echo "usage: $0 [params...]" && exit 1 + +root=`dirname $0` +run_name=$1 +command=$2 + +shift 2 + +$root/$command -c $root/run/$run_name/ceph.conf "$@"