cmdeploy: print echobot link at the end of cmdeploy run

This commit is contained in:
missytake
2025-08-20 19:04:38 +02:00
parent 5410c1bebc
commit d690c22c06

View File

@@ -89,6 +89,8 @@ def run_cmd(args, out):
try: try:
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(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"]:
out.red("Deploy completed but letsencrypt not configured") out.red("Deploy completed but letsencrypt not configured")