From a3e3989955b0e77465049263c9cc4b2dc30cd243 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Wed, 10 Jul 2013 17:11:43 +0200 Subject: [PATCH] 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 --- devstack-vm-gate-dev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack-vm-gate-dev.sh b/devstack-vm-gate-dev.sh index 88b3fe16..901554e6 100755 --- a/devstack-vm-gate-dev.sh +++ b/devstack-vm-gate-dev.sh @@ -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=$?