Fix where network stop happens

This broke preseed config
This commit is contained in:
Joshua Boniface
2023-08-30 13:51:49 -04:00
parent 8cb905deb7
commit 538ca2b81e

View File

@ -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 "--------------------------------------------------------"