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 = { systemd.services.workshop-abra-install = {
description = "Install abra CLI system-wide with retry logic and proper verification"; description = "Install abra CLI system-wide with retry logic and proper verification";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ]; after = [ "workshop-system-setup.service" ];
wants = [ "network-online.target" ];
path = with pkgs; [ path = with pkgs; [
bash bash
wget wget
@@ -521,13 +520,13 @@ isoConfig
# Wait for actual internet connectivity # Wait for actual internet connectivity
echo "🌐 Waiting for 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 if curl -s --max-time 5 https://abra.coopcloud.tech >/dev/null 2>&1; then
echo " Internet connectivity confirmed" echo " Internet connectivity confirmed"
break break
fi fi
if [ $i -eq 30 ]; then if [ $i -eq 300 ]; then
echo " No internet connectivity after 60 seconds" echo " No internet connectivity after 10 minutes"
exit 1 exit 1
fi fi
sleep 2 sleep 2