summaryrefslogtreecommitdiffstats
path: root/ci/00-maasdeploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/00-maasdeploy.sh')
-rwxr-xr-xci/00-maasdeploy.sh16
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
#