From: Narinder Gupta <narinder.gupta@canonical.com>
Date: Fri, 29 Jan 2016 18:44:39 +0000 (-0600)
Subject: wrong place corrected.
X-Git-Tag: brahmaputra.1.0~28
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=91c88faaf0494b9410f1db5ee0b736fc4ee259c7;p=joid.git

wrong place corrected.

Change-Id: I3188db26bca6f5a6d74c6d092e306d8088eb5f64
(cherry picked from commit d66f6ed6be865d5d81779fe464853044c6999812)
---

diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh
index e7fbaad3..5575a3d1 100755
--- a/ci/02-maasdeploy.sh
+++ b/ci/02-maasdeploy.sh
@@ -73,8 +73,8 @@ sudo apt-add-repository ppa:juju/stable -y
 sudo apt-add-repository ppa:maas/stable -y
 sudo apt-add-repository cloud-archive:liberty -y
 sudo apt-get update -y
-apt-get apt-get upgrade -y && apt-get autoremove -y && apt-get autoclean -y
-sudo apt-get install openssh-server git maas-deployer juju juju-deployer maas-cli python-pip python-openstackclient
+sudo apt-get dist-upgrade -y 
+sudo apt-get install openssh-server git maas-deployer juju juju-deployer maas-cli python-pip python-openstackclient -y
 
 sudo pip install shyaml
 juju init -f