Issue


When executing a recipe on a Linux VS, an stdin: is not a tty message appears in the Control Panel logs:

stdin: is not a ttyRunning: export CP_ADDRESS=example.com; export RESPONSE_FROM_PREVIOUS=''; export IP_ADDRESS=192.137.1.13; export HOSTNAME=test; export ROOT_PASSWORD=t.cetJO.M export OPERATING_SYSTEM=linux; export OPERATING_SYSTEM_DISTRO=rhel; export OPERATING_SYSTEM_ARCH=x64; export OPERATING_SYSTEM_EDITION=''; /tmp/fwlkydzbmuxtphijstdin: is not a tty
CODE


Troubleshooting


Check if messaging is enabled on your VS bashrc:

root@test [~]# cat /etc/bashrc | grep mesg
mesg y 
CODE

Cause


It usually happens when installing cPanel. cPanel adds mesg y to your bashrc. Therefore, it tries to run stty, and get the error that stdin is not a tty.

This is only a warning that could be ignored.

Resolution


Comment the line from the VS bashrc:

#mesg y
CODE