Merge "Remove zuul-sudo-grep lines from nodepool"

This commit is contained in:
Zuul 2018-02-07 10:01:29 +00:00 committed by Gerrit Code Review
commit 93a0c17cca
1 changed files with 0 additions and 5 deletions

View File

@ -17,11 +17,6 @@ zuul ALL=(ALL) NOPASSWD:ALL
EOF
chmod 0440 /etc/sudoers.d/zuul
cat > /etc/sudoers.d/zuul-sudo-grep <<EOF
zuul ALL = NOPASSWD:/usr/local/jenkins/slave_scripts/zuul-sudo-grep.sh
EOF
chmod 0440 /etc/sudoers.d/zuul-sudo-grep
visudo -c || die "Error setting zuul sudo!"
# this was copied from outside the chroot by extras.d