From a9b1660b4f9cc12503a8b84a2c43b2262b5a2b4d Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 6 Aug 2022 21:52:35 +0100 Subject: [PATCH] run.sh: run ssh cluster config postinstall last --- src/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/run.sh b/src/run.sh index 84bb481..b8b2bd6 100755 --- a/src/run.sh +++ b/src/run.sh @@ -159,7 +159,6 @@ queue_preinstall_step "100-chrony.sh"; queue_postinstall_step "20-collectd.sh"; -queue_postinstall_step "100-ssh-cluster-config.sh"; task_end "$?"; stage_end "$?"; @@ -266,6 +265,9 @@ 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 #shellcheck disable=SC1090