diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-19 17:53:52 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-19 17:59:21 -0500 |
commit | dc2188eb979f9ba70d687267671aa585c47a05d9 (patch) | |
tree | cd5ded11961da2c7c283ddb22e84a49192a8c7bc /ci/00-maasdeploy.sh | |
parent | 14d891da03cf0eeafd0d8b53174144dc6462877a (diff) |
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 <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/00-maasdeploy.sh')
-rwxr-xr-x | ci/00-maasdeploy.sh | 16 |
1 files changed, 9 insertions, 7 deletions
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 # |