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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user