First boot: don't hang forever on a stalled online install; fall back to the offline bundle

Unattended installs on an --offline ISO cap the online attempt (default 40 min)
and finish from the bundle on timeout or failure. Interactive retry menu gains
[O] to install from the bundle. NodeSource curl gets timeouts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A97KUggSE3rBL8veDM5Mr4
This commit is contained in:
Claude
2026-10-23 15:33:54 +00:00
parent d0d39e48bb
commit d30f7c7260
2 changed files with 42 additions and 4 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ provision_install_nodejs() {
# The bundle carries NodeSource's own nodejs package.
sudo apt install -y nodejs
else
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
curl -fsSL --connect-timeout 20 --max-time 300 https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs
fi
fi