diff --git a/bin/multiweave b/bin/multiweave index 6a78230a..df47f44a 100755 --- a/bin/multiweave +++ b/bin/multiweave @@ -30,7 +30,7 @@ case "$1" in launch) shift 1 for i in $(seq $START $FINISH); do - WEAVE_CONTAINER_NAME=weave$i WEAVE_PORT=$((5000+i)) $weavedir/weave launch -iface '' -name $(random_mac) -nickname weave$i -port $PORT "$@" + WEAVE_CONTAINER_NAME=weave$i WEAVE_PORT=$((5000+i)) $weavedir/weave launch-router -iface '' -name $(random_mac) -nickname weave$i -port $PORT "$@" done if [ $START -ne 1 ] ; then status=$(docker inspect --format='{{.State.Running}} {{.NetworkSettings.IPAddress}}' weave$((START-1))) @@ -48,7 +48,7 @@ case "$1" in stop) for i in $(seq $START $FINISH); do echo Stopping weave$i - WEAVE_CONTAINER_NAME=weave$i $weavedir/weave stop + WEAVE_CONTAINER_NAME=weave$i $weavedir/weave stop-router done ;; esac