Hello,
I get this when trying to deploy a simple YAML blueprint that uses the
VanillaSoftwareProcess to run a bash script (that uses sudo):
sudo: sorry, you must have a tty to run sudo
This is basically how the OS (RHEL 6.5) is configured by default (“Defaults
requiretty” in /etc/sudoers), but it would be good to have a way to bypass this
problem. I can think of the following:
* Have a `root: true/false` option in VanillaSoftwareProcess that would make it
bypass this problem and run as root
* Simply have brooklyn’s system bootstrapping to configure /etc/sudoers,
removing `Defaults requiretty` or adding `Defaults:username !requiretty` for
whatever user that will run the VanillaSoftwareProcess script.
* Use an image that doesn’t have this problem :-). But that is tedious.
What do you guys think?
-Renier