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:
@@ -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=$?
|
||||
|
||||
Reference in New Issue
Block a user