Code Review
/
joid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1294a4a
)
change permisson and retry.
55/7755/1
author
Narinder Gupta
<narinder.gupta@canonical.com>
Fri, 22 Jan 2016 17:12:08 +0000
(11:12 -0600)
committer
Narinder Gupta
<narinder.gupta@canonical.com>
Fri, 22 Jan 2016 17:12:08 +0000
(11:12 -0600)
Change-Id: Ibb43cb665566e7a3c12d9dc8e90998cf304fbe1f
ci/02-maasdeploy.sh
patch
|
blob
|
history
diff --git
a/ci/02-maasdeploy.sh
b/ci/02-maasdeploy.sh
index
42b5cac
..
90d06d9
100755
(executable)
--- 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/