diff --git a/src/run.sh b/src/run.sh index b8b2bd6..2a88e6e 100755 --- a/src/run.sh +++ b/src/run.sh @@ -265,8 +265,6 @@ stage_end "$?" "Failed to install apt packages"; step_current="4"; -# This is here so that we can be sure it runs last, as it may prompt the user about ssh keys! Then we don't have to site around waiting. -queue_postinstall_step "100-ssh-cluster-config.sh"; stage_begin "Running post-install tasks"; while read -r postinstall_step; do @@ -283,6 +281,9 @@ stage_begin "$?" "Failed to run 1 or more post-install tasks"; step_current="5"; +# This is here so that we can be sure it runs last, as it may prompt the user about ssh keys! Then we don't have to site around waiting. +source "steps-last/10-ssh-cluster-config.sh"; + source "steps-last/15-ufw.sh"; ############################################################################### diff --git a/src/steps-postinstall/100-ssh-cluster-config.sh b/src/steps-last/10-ssh-cluster-config.sh similarity index 100% rename from src/steps-postinstall/100-ssh-cluster-config.sh rename to src/steps-last/10-ssh-cluster-config.sh