Disable RequireTTY in /etc/sudoers

...to avoid the following error:

+ sudo -u stack /opt/stack/install-devstack.sh
sudo: sorry, you must have a tty to run sudo