diff --git a/testing/run-scripts/run_cloud.sh b/testing/run-scripts/run_cloud.sh index 86475a09f5..d2d0f011f9 100755 --- a/testing/run-scripts/run_cloud.sh +++ b/testing/run-scripts/run_cloud.sh @@ -149,10 +149,8 @@ if ! docker ps -a | grep uproxy-sshd >/dev/null; then echo -n "Waiting for Zork to come up..." while ! ((echo ping ; sleep 0.5) | nc -w 1 $HOST_IP 9000 | grep ping) > /dev/null; do echo -n .; done echo "ready!" - - if [ -z "$INVITE_CODE" ] - then - INVITE_CODE=`docker cp uproxy-sshd:/initial-giver-invite-code -|tar xO` - echo "invite code: $INVITE_CODE" - fi fi + +# Output the invitation URL. +INVITE_CODE=`docker cp uproxy-sshd:/initial-giver-invite-code -|tar xO` +echo "invite code: https://www.uproxy.org/invite/$INVITE_CODE"