From 0ea68a4b427388fa4ab5db9e13fc4fa20d5f7179 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Fri, 20 Jan 2017 12:37:01 -0600 Subject: typo Change-Id: Iaaaffd8e0199cb7352c8547845b334e0ae4d4554 Signed-off-by: Narinder Gupta --- ci/02-deploybundle.sh | 2 +- ci/03-maasdeploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index 26946bd4..1bb8e353 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -40,7 +40,7 @@ check_status() { juju status > status.txt if [ "$(grep -c "waiting" status.txt )" -ge 4 ]; then echo " still waiting for machines ..." - if [ $timeoutiter -ge 360 ]; then + if [ $timeoutiter -ge 240 ]; then retval=1 fi timeoutiter=$((timeoutiter+1)) diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index 43c188e2..2d40d516 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -168,7 +168,7 @@ mkdir ~/.juju/ || true if [ ! -e ~maas/.ssh/id_rsa.pub ]; then sudo su - $USER -c "echo |ssh-keygen -t rsa -f $HOME/id_rsa_maas" sudo -u maas mkdir ~maas/.ssh/ || true - sudo cp $HOME/id_rsa_maas* ~maas/.ssh/id_rsa + sudo cp $HOME/id_rsa_maas ~maas/.ssh/id_rsa sudo cp $HOME/id_rsa_maas.pub ~maas/.ssh/id_rsa.pub fi -- cgit 1.2.3-korg