From 305cb9bb3461da5b47068af9e82d01cb94207c3d Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Tue, 26 Aug 2008 15:53:22 +0000
Subject: [PATCH] QA: Use pseudo-tty via SSH

This gives continous output instead it being buffered.

Reviewed-by: ultrotter
---
 qa/qa_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qa/qa_utils.py b/qa/qa_utils.py
index 8ca367ed5..0ba6cb92d 100644
--- a/qa/qa_utils.py
+++ b/qa/qa_utils.py
@@ -101,7 +101,7 @@ def GetSSHCommand(node, cmd, strict=True):
   - strict: Whether to enable strict host key checking
 
   """
-  args = [ 'ssh', '-oEscapeChar=none', '-oBatchMode=yes', '-l', 'root' ]
+  args = [ 'ssh', '-oEscapeChar=none', '-oBatchMode=yes', '-l', 'root', '-t' ]
 
   if strict:
     tmp = 'yes'
-- 
GitLab