From c81ecb3fe7fb9ac2c5a03dd254459dbfebc8f234 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Wed, 9 Dec 2015 16:24:18 -0600 Subject: [PATCH] modified the file to change the ownership of environments.yaml file Change-Id: Idf5ffcd1cca533543f8df574381d1eabafb78b4d --- ci/02-maasdeploy.sh | 2 ++ 1 file changed, 2 insertions(+) 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` -- 2.16.6