summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-01-22 11:12:08 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-01-22 11:12:08 -0600
commit4aa8c6ed266665579332c678787d04b18e3f0b17 (patch)
treef991816e56a3e77e300ca82b5f860e73b533aec7 /ci
parent1294a4a4e1b53ce5942a91fe209813f490d20320 (diff)
change permisson and retry.
Change-Id: Ibb43cb665566e7a3c12d9dc8e90998cf304fbe1f
Diffstat (limited to 'ci')
-rwxr-xr-xci/02-maasdeploy.sh1
1 files changed, 1 insertions, 0 deletions
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/