8 lines
198 B
Text
8 lines
198 B
Text
|
#!/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
|