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