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>
cmd = ("ssh -o UserKnownHostsFile=/dev/null"
" -o StrictHostKeyChecking=no"
" -i %s %s@%s -R %s:localhost:%s"
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,
" 2>&1 < /dev/null &"
% (self.key_file,
self.node_user_name,