diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-08-19 18:55:27 +0900 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-08-19 18:55:27 +0900 |
commit | abe65660eb689b6717a77aeeda8e445c2c68099b (patch) | |
tree | 498f8d32d2b0d9574f44b859e913a72f5ce73379 | |
parent | fe0f78ff802a48951f2f5771cdd38b263f49a0c6 (diff) |
fix login to controller nodes
Change-Id: I9a85923b1b1766435280aeddfcebfaccbbb4e098
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
-rwxr-xr-x | tests/run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.sh b/tests/run.sh index abbe2485..477d9c2f 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -227,7 +227,7 @@ start_consumer() { for ip in $CONTROLLER_IPS do forward_rule="-R $CONSUMER_PORT:localhost:$CONSUMER_PORT" - tunnel_command="sudo ssh $ssh_opts $ip $forward_rule sleep 600" + tunnel_command="sudo ssh $ssh_opts_cpu $COMPUTE_USER@$ip $forward_rule sleep 600" $tunnel_command > "ssh_tunnel.${ip}.log" 2>&1 < /dev/null & done } @@ -241,7 +241,7 @@ stop_consumer() { for ip in $CONTROLLER_IPS do forward_rule="-R $CONSUMER_PORT:localhost:$CONSUMER_PORT" - tunnel_command="sudo ssh $ssh_opts $ip $forward_rule sleep 600" + tunnel_command="sudo ssh $ssh_opts_cpu $COMPUTE_USER@$ip $forward_rule sleep 600" kill $(pgrep -f "$tunnel_command") print_log "ssh_tunnel.${ip}.log" done |