From: Narinder Gupta Date: Fri, 22 Jan 2016 17:12:08 +0000 (-0600) Subject: change permisson and retry. X-Git-Tag: colorado.1.0~288 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F7755%2F1;p=joid.git change permisson and retry. Change-Id: Ibb43cb665566e7a3c12d9dc8e90998cf304fbe1f --- diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh index 42b5cac3..90d06d91 100755 --- a/ci/02-maasdeploy.sh +++ b/ci/02-maasdeploy.sh @@ -40,6 +40,7 @@ echo "$USER ALL=(ALL) NOPASSWD:ALL" > 90-joid-init if [ -e /etc/sudoers.d/90-joid-init ]; then sudo cp /etc/sudoers.d/90-joid-init 91-joid-init sudo chown $USER:$USER 91-joid-init + sudo chmod 660 91-joid-init sudo cat 90-joid-init >> 91-joid-init sudo chown root:root 91-joid-init sudo mv 91-joid-init /etc/sudoers.d/