From abe65660eb689b6717a77aeeda8e445c2c68099b Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Fri, 19 Aug 2016 18:55:27 +0900 Subject: fix login to controller nodes Change-Id: I9a85923b1b1766435280aeddfcebfaccbbb4e098 Signed-off-by: Ryota MIBU --- tests/run.sh | 4 ++-- 1 file 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 -- cgit 1.2.3-korg