diff --git a/scripts/setup/machine-setup/machine-setup.sh b/scripts/setup/machine-setup/machine-setup.sh index cc286400..6f64c212 100755 --- a/scripts/setup/machine-setup/machine-setup.sh +++ b/scripts/setup/machine-setup/machine-setup.sh @@ -108,10 +108,15 @@ ask_machine_role info "Role: ${MACHINE_ROLE}" if [[ -f "$PROGRESS_FILE" ]]; then - DONE_COUNT=$(wc -l < "$PROGRESS_FILE") - echo -e "${YELLOW} Resuming — $DONE_COUNT step(s) already completed${NC}" - echo -e "${YELLOW} Progress file: $PROGRESS_FILE${NC}" - echo -e "${YELLOW} To start fresh: rm $PROGRESS_FILE${NC}" + DONE_COUNT=$(wc -l <"$PROGRESS_FILE") + echo "" + info "Resuming — ${DONE_COUNT} step(s) already done, and they will be skipped" + echo " To start over instead: sudo rm ${PROGRESS_FILE}" +else + echo "" + echo " This can be stopped at any point and run again later. Completed" + echo " steps are remembered and skipped, and the answers below are kept," + echo " so coming back costs nothing." fi if [[ "$EUID" -ne 0 ]]; then @@ -466,6 +471,12 @@ if ! skip; then echo "" echo " Then come back here with its address and a key. Nothing below" echo " will work until that server is up and answering." + echo "" + echo " Take as long as you need. Stop this script whenever you like" + echo " — Ctrl-C is fine — and run it again when you are ready. Every" + echo " step already done is remembered and skipped, and the answers" + echo " you have given are kept, so you will come back to this same" + echo " question and nothing before it." fi # No default offered. A coordination server URL is somebody's private # infrastructure, and a machine that joins the wrong one has joined a