modified the file to change the ownership of environments.yaml file 73/4173/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 9 Dec 2015 22:24:18 +0000 (16:24 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 9 Dec 2015 22:24:18 +0000 (16:24 -0600)
Change-Id: Idf5ffcd1cca533543f8df574381d1eabafb78b4d

ci/02-maasdeploy.sh

index 3a000a9..9536eaa 100755 (executable)
@@ -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`