From 1351038a65739b8d799820de515178326ad05f7b Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Fri, 3 Aug 2018 14:06:53 +0800 Subject: bugfix: fix the filename of ssh tunnel The stunnel will be setup failed in the docker if we have the .log at the end of file name. Change-Id: I272a9fa3b668d49b0e26752403ad41a67dcfedc7 Signed-off-by: dongwenjuan --- doctor_tests/installer/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doctor_tests') diff --git a/doctor_tests/installer/base.py b/doctor_tests/installer/base.py index 76bbeb1e..f312130a 100644 --- a/doctor_tests/installer/base.py +++ b/doctor_tests/installer/base.py @@ -63,7 +63,7 @@ class BaseInstaller(object): cmd = ("ssh -o UserKnownHostsFile=/dev/null" " -o StrictHostKeyChecking=no" " -i %s %s@%s -R %s:localhost:%s" - " sleep 600 > ssh_tunnel.%s.log" + " sleep 600 > ssh_tunnel.%s" " 2>&1 < /dev/null &" % (self.key_file, self.node_user_name, -- cgit 1.2.3-korg