Merge "Allow heat-admin to sudo without tty"

This commit is contained in:
Jenkins 2013-11-13 11:13:31 +00:00 committed by Gerrit Code Review
commit c7b75c9b48

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
# heat-admin can not sudo without a tty by default
echo 'Defaults:heat-admin !requiretty' >> /etc/sudoers.d/heat-admin-notty
chmod 0440 /etc/sudoers.d/heat-admin-notty
visudo -c