summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2015-12-09 16:24:18 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2015-12-09 16:24:18 -0600
commitc81ecb3fe7fb9ac2c5a03dd254459dbfebc8f234 (patch)
tree5eeaceca98887768999bb9dfe7b0c0252a1a3d0d /ci
parentf80c82fd5f3369e4c91d5e3836d2a68969912e27 (diff)
modified the file to change the ownership of environments.yaml file
Change-Id: Idf5ffcd1cca533543f8df574381d1eabafb78b4d
Diffstat (limited to 'ci')
-rwxr-xr-xci/02-maasdeploy.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh
index 3a000a9c..9536eaa3 100755
--- a/ci/02-maasdeploy.sh
+++ b/ci/02-maasdeploy.sh
@@ -49,6 +49,8 @@ juju init -f
cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
sudo maas-deployer -c deployment.yaml -d --force
+sudo chown $USER:$USER environments.yaml
+
echo "... Deployment of maas finish ...."
maas_ip=`grep " ip_address" deployment.yaml | cut -d " " -f 10`