From d66f6ed6be865d5d81779fe464853044c6999812 Mon Sep 17 00:00:00 2001
From: Narinder Gupta <narinder.gupta@canonical.com>
Date: Fri, 29 Jan 2016 12:44:39 -0600
Subject: [PATCH] wrong place corrected.

Change-Id: I3188db26bca6f5a6d74c6d092e306d8088eb5f64
---
 ci/02-maasdeploy.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.16.6