From 7433bc8372d59ad6850039ed527eb3cd28f17aa0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:00 -0400 Subject: [PATCH] Fix where network stop happens This broke preseed config --- templates/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/install.sh b/templates/install.sh index eaacfa2..1fcdd91 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -50,9 +50,6 @@ fi printf "PID $$ on TTY ${this_tty}" > ${lockfile} echo -# Stop all existing networking for a fresh slate -service networking stop &>/dev/null - # Set the target consoles in the installed image target_consoles="" for tty in $( echo -e "$( sed 's/ /\n/g' <<<"${active_ttys[@]}" )" | sort ); do @@ -301,6 +298,9 @@ EOF } interactive_config() { + # Stop all existing networking for a fresh slate for interactive config + service networking stop &>/dev/null + clear echo "--------------------------------------------------------"