@@ -146,24 +146,27 @@ export DEISCTL_TUNNEL=$FIRST_INSTANCE
146146# loop until etcd2 / fleet are up and running
147147COUNTER=1
148148until deisctl list > /dev/null; do
149- if [ $COUNTER -gt $ATTEMPTS ];
150- then echo_red " Timed out waiting for fleet, giving up"
149+ if [ $COUNTER -gt $ATTEMPTS ]; then
150+ echo_red " Timed out waiting for fleet, giving up"
151+ echo_red " Ensure that the private key in cloudformation.json"
152+ echo_red " is added to your ssh-agent."
151153 break
152154 fi
153155 echo " Waiting until fleet is up and running ..."
154156 sleep 5
155157 let COUNTER=COUNTER+1
156158done
157159
158- echo_green " Your Deis cluster has been successfully deployed to AWS CloudFormation and is started."
159- echo_green " Please continue to follow the instructions in the documentation."
160-
161160echo_green " Enabling proxy protocol"
162161if ! deisctl config router set proxyProtocol=1; then
162+ echo_red " # WARNING: Enabling proxy protocol failed."
163+ echo_red " # Ensure that the private key in cloudformation.json is added to"
164+ echo_red " # your ssh-agent, then enable proxy protocol before continuing:"
163165 echo_red " #"
164- echo_red " # Enabling proxy protocol failed, please enable proxy protocol "
165- echo_red " # manually after finishing your deis cluster installation."
166- echo_red " #"
167- echo_red " # deisctl config router set proxyProtocol=1"
168- echo_red " #"
166+ echo_red " # deisctl config router set proxyProtocol=1\n"
169167fi
168+
169+ echo_green " Your Deis cluster was deployed to AWS CloudFormation as stack " $STACK_NAME " .\n"
170+ echo_green " Now run this command in your shell:"
171+ echo_green " export DEISCTL_TUNNEL=$FIRST_INSTANCE "
172+ echo_green " and continue to follow the documentation for \" Installing the Deis Platform.\" "
0 commit comments