From dc2188eb979f9ba70d687267671aa585c47a05d9 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Fri, 19 Aug 2016 17:53:52 -0500 Subject: modfied to take care of labconfig.yaml file copy and change the bundle to deploy with haproxy Change-Id: Iec5126562e4a78b8b4984ce2992ab81a197f90b0 Signed-off-by: Narinder Gupta --- ci/00-maasdeploy.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'ci/00-maasdeploy.sh') diff --git a/ci/00-maasdeploy.sh b/ci/00-maasdeploy.sh index 14937730..0dfff050 100755 --- a/ci/00-maasdeploy.sh +++ b/ci/00-maasdeploy.sh @@ -139,13 +139,6 @@ fi # Init Juju juju init -f -# Backup deployment.yaml and deployconfig.yaml in .juju folder -cp ./deployment.yaml ~/.juju/ - -if [ -e ./deployconfig.yaml ]; then - cp ./deployconfig.yaml ~/.juju/ -fi - # # MAAS deploy # @@ -156,6 +149,15 @@ sudo chown $USER:$USER environments.yaml echo "... Deployment of maas finish ...." +# Backup deployment.yaml and deployconfig.yaml in .juju folder + +cp ./environments.yaml ~/.juju/ + +if [ -e ./deployconfig.yaml ]; then + cp ./deployconfig.yaml ~/.juju/ + cp ./labconfig.yaml ~/.juju/ +fi + # # MAAS Customization # -- cgit 1.2.3-korg