mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
cmdeploy: get SSHExec again, timeout is likely
This commit is contained in:
@@ -90,6 +90,7 @@ def run_cmd(args, out):
|
|||||||
retcode = out.check_call(cmd, env=env)
|
retcode = out.check_call(cmd, env=env)
|
||||||
if retcode == 0:
|
if retcode == 0:
|
||||||
print("\nYou can try out the relay by talking to this echo bot: ")
|
print("\nYou can try out the relay by talking to this echo bot: ")
|
||||||
|
sshexec = args.get_sshexec()
|
||||||
print(sshexec(call=remote.rshell.shell, kwargs=dict(command="cat /var/lib/echobot/invite-link.txt")))
|
print(sshexec(call=remote.rshell.shell, kwargs=dict(command="cat /var/lib/echobot/invite-link.txt")))
|
||||||
out.green("Deploy completed, call `cmdeploy dns` next.")
|
out.green("Deploy completed, call `cmdeploy dns` next.")
|
||||||
elif not remote_data["acme_account_url"]:
|
elif not remote_data["acme_account_url"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user