From: dongwenjuan Date: Fri, 3 Aug 2018 06:06:53 +0000 (+0800) Subject: bugfix: fix the filename of ssh tunnel X-Git-Tag: opnfv-7.0.0~12 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=doctor.git;a=commitdiff_plain;h=1351038a65739b8d799820de515178326ad05f7b 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 --- 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,