fix: remove network-online dependency from abra installation service

This commit is contained in:
2025-09-17 16:07:24 +02:00
parent d0f9117515
commit 70551d1e75

View File

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