summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-01-22 09:08:40 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-01-22 09:08:40 -0600
commitfeca5a3612c43c92652b838eec24565ffe14b2b8 (patch)
tree153b354cf686c5f54a4c7efe0ce1a5af4774d4aa /ci
parentdd299d64d88aa9f39452eff60ba52c2fdf76886d (diff)
using sudo in cat now.
Change-Id: I5c3e91e322cd77e5b5f1ccc0df5c7988f64cdd59
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 0cbd9ddc..8a22003a 100755
--- a/ci/02-maasdeploy.sh
+++ b/ci/02-maasdeploy.sh
@@ -36,7 +36,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