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:
a835c1b
)
using sudo in cat now.
69/7769/1
author
Narinder Gupta
<narinder.gupta@canonical.com>
Fri, 22 Jan 2016 15:08:40 +0000
(09:08 -0600)
committer
Narinder Gupta
<narinder.gupta@canonical.com>
Fri, 22 Jan 2016 19:53:02 +0000
(19:53 +0000)
Change-Id: I5c3e91e322cd77e5b5f1ccc0df5c7988f64cdd59
(cherry picked from commit
feca5a3612c43c92652b838eec24565ffe14b2b8
)
ci/02-maasdeploy.sh
patch
|
blob
|
history
diff --git
a/ci/02-maasdeploy.sh
b/ci/02-maasdeploy.sh
index
a00fb00
..
76c7720
100755
(executable)
--- a/
ci/02-maasdeploy.sh
+++ b/
ci/02-maasdeploy.sh
@@
-33,7
+33,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
- cat 90-joid-init >> 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/
else