Remove zuul-sudo-grep lines from nodepool

File
http://git.openstack.org/cgit/openstack-infra/openstack-zuul-jobs/tree/playbooks/legacy/pre.yaml#n54
sets up sudoers for zuul-sudo-grep.sh, remove it from nodepool images.

Change-Id: Ibd8b6024975587a0d137477808c212dfd3f91e76
This commit is contained in:
Andreas Jaeger 2018-02-05 21:43:38 +01:00
parent 0f349b043a
commit b72eed6fba
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