waiting ssh command in log
This commit is contained in:
parent
3e4c316523
commit
065e93d409
@ -114,7 +114,9 @@ module Devops
|
||||
@out << "\nWaiting for SSH..."
|
||||
@out.flush
|
||||
i = 0
|
||||
cmd = "ssh -i #{cert_path} -q #{@server.remote_user}@#{ip} 'exit' 2>&1"
|
||||
cmd = "ssh -i #{cert_path} -q #{@server.remote_user}@#{ip} 'exit'"
|
||||
out << "Test command: '#{cmd}'\n"
|
||||
cmd << " 2>&1"
|
||||
begin
|
||||
sleep(5)
|
||||
res = `#{cmd}`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user