From 28dfad8d1fe46eccea5f3ca108914239e313ae0f Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Thu, 3 Nov 2016 08:03:01 -0500 Subject: [PATCH] adding line for echo. Change-Id: If54897864df2905c40b273c8922796d16d50772d Signed-off-by: Narinder Gupta --- ci/03-maasdeploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index 49391aad..3ee955df 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -5,6 +5,7 @@ set -ex maasver=`apt-cache policy maas | grep Installed | cut -d ':' -f 2 | sed -e 's/ //'` if [[ "$maasver" > "2" ]]; then + echo "removing existing maas ..." #sudo apt-get purge maas maas-cli maas-common maas-dhcp maas-dns maas-proxy maas-rack-controller maas-region-api maas-region-controller -y #sudo rm -rf /var/lib/maas fi @@ -163,10 +164,10 @@ fi mkdir ~/joid_config/ || true mkdir ~/.juju/ || true -sudo mkdir -p ~maas +sudo mkdir -p ~maas || true sudo chown maas:maas ~maas if [ ! -e ~maas/.ssh/id_rsa ]; then - sudo -u maas ssh-keygen -N '' -f ~maas/.ssh/id_rsa + sudo -u maas ssh-keygen -N '' -f ~maas/.ssh/id_rsa -y fi # Ensure virsh can connect without ssh auth -- 2.16.6