diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-08-03 14:06:53 +0800 |
---|---|---|
committer | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-08-03 14:06:53 +0800 |
commit | 1351038a65739b8d799820de515178326ad05f7b (patch) | |
tree | e65fb197fc146869cdee87a3c0e6e47b050066b7 /doctor_tests/installer/base.py | |
parent | e70bf248daac03eee6b449cd1654d2ee6265dd8c (diff) |
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 <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/installer/base.py')
-rw-r--r-- | doctor_tests/installer/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |