Request for a pty in the ssh sessions

The sudo on many systems checks for secure tty/pty before any other
security checks.

Having the ssh to use a tty even for remote command execution, can
solve this issue.

Change-Id: Ie19a45b245e274f9e3f502c65418d305e1babbbe
This commit is contained in:
Attila Fazekas
2013-07-10 17:11:43 +02:00
parent 34191892fc
commit a3e3989955

View File

@@ -31,6 +31,6 @@ if [ $RETVAL != 0 ]; then
fi
rm $WORKSPACE/test-env.sh
ssh jenkins@$NODE_IP_ADDR '. workspace/test-env.sh && cd workspace && ./devstack-gate/devstack-vm-gate-wrap.sh'
ssh -t jenkins@$NODE_IP_ADDR '. workspace/test-env.sh && cd workspace && ./devstack-gate/devstack-vm-gate-wrap.sh'
echo "done"
#RETVAL=$?