From: Narinder Gupta Date: Thu, 3 Nov 2016 13:03:01 +0000 (-0500) Subject: adding line for echo. X-Git-Tag: danube.1.0~110 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=28dfad8d1fe46eccea5f3ca108914239e313ae0f;p=joid.git adding line for echo. Change-Id: If54897864df2905c40b273c8922796d16d50772d Signed-off-by: Narinder Gupta --- 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