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:
parent
0f349b043a
commit
b72eed6fba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user