fix: remove network-online dependency from abra installation service
This commit is contained in:
@@ -493,8 +493,7 @@ isoConfig
|
||||
systemd.services.workshop-abra-install = {
|
||||
description = "Install abra CLI system-wide with retry logic and proper verification";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "workshop-system-setup.service" ];
|
||||
path = with pkgs; [
|
||||
bash
|
||||
wget
|
||||
@@ -521,13 +520,13 @@ isoConfig
|
||||
|
||||
# Wait for actual internet connectivity
|
||||
echo "🌐 Waiting for internet connectivity..."
|
||||
for i in {1..30}; do
|
||||
for i in {1..300}; do
|
||||
if curl -s --max-time 5 https://abra.coopcloud.tech >/dev/null 2>&1; then
|
||||
echo "✅ Internet connectivity confirmed"
|
||||
break
|
||||
fi
|
||||
if [ $i -eq 30 ]; then
|
||||
echo "❌ No internet connectivity after 60 seconds"
|
||||
if [ $i -eq 300 ]; then
|
||||
echo "❌ No internet connectivity after 10 minutes"
|
||||
exit 1
|
||||
fi
|
||||
sleep 2
|
||||
|
||||
Reference in New Issue
Block a user