diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-02-19 10:05:01 +0900 |
---|---|---|
committer | Ryota Mibu <r-mibu@cq.jp.nec.com> | 2016-02-19 01:30:32 +0000 |
commit | b96d1f177848ba12ca153c2e8e34b1fca8ee9ced (patch) | |
tree | 07c1db97498a575129d9693c2f899af8c88e2b4c /tests | |
parent | c6324521cc892add33af5543df60ab615f5c8088 (diff) |
test: fix bug: missing installer_ip in scp args
Change-Id: Ia9bf6ffb8a6bd4f2672aa50bb7841a7dc37e48ea
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
(cherry picked from commit ac95693eedfd0ec9593e46f9a57f5d989e25f9bd)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh index ffb349a4..39f60ca2 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -42,10 +42,11 @@ if [[ "$COMPUTE_IP" == "none" ]] ; then fi prepare_compute_ssh() { + # verify connectivity to target compute host ping -c 1 "$COMPUTE_IP" # get ssh key from installer node - sudo scp $ssh_opts /home/stack/.ssh/id_rsa instack_key + sudo scp $ssh_opts root@"$INSTALLER_IP":/home/stack/.ssh/id_rsa instack_key if [ ! -r instack_key ]; then sudo chown $(whoami):$(whoami) instack_key fi |