summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-01-22 19:54:00 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-22 19:54:00 +0000
commit63620bd4dbddf54beff7ea785193c3ea73cb5540 (patch)
treed93c45492ac498befae2ac847f56d6f2a5b5e097 /ci
parent219b441cb247634096b355e9762454aab19037a2 (diff)
parent934aca5489e191f771503ddba23df4a0cf1d3225 (diff)
Merge "using sudo in cat now." into stable/brahmaputra
Diffstat (limited to 'ci')
-rwxr-xr-xci/02-maasdeploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh
index 0755ab5d..f05d1f52 100755
--- a/ci/02-maasdeploy.sh
+++ b/ci/02-maasdeploy.sh
@@ -37,7 +37,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