pass on args in multiweave launch <args>...
This commit is contained in:
1 parent
f9ea3f54d1
commit
74b3bf8299
1 file changed
+2
-1
+2
-1
@@ -19,8 +19,9 @@ weavedir=$(dirname $0)/..
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
launch)
|
launch)
|
||||||
|
shift 1
|
||||||
for i in $(seq $START $FINISH); do
|
for i in $(seq $START $FINISH); do
|
||||||
WEAVE_CONTAINER_NAME=weave$i $weavedir/weave test-launch --connlimit=100
|
WEAVE_CONTAINER_NAME=weave$i $weavedir/weave test-launch "$@"
|
||||||
done
|
done
|
||||||
if [ $START -ne 1 ] ; then
|
if [ $START -ne 1 ] ; then
|
||||||
status=$(docker inspect --format='{{.State.Running}} {{.NetworkSettings.IPAddress}}' weave$((START-1)))
|
status=$(docker inspect --format='{{.State.Running}} {{.NetworkSettings.IPAddress}}' weave$((START-1)))
|
||||||
|
|||||||
Reference in new issue
Block a user