pxe-publish attend le réseau + doc du souci IP statique

This commit is contained in:
2026-09-09 09:55:16 +02:00
parent 3510290902
commit 5e6594d731
2 changed files with 19 additions and 1 deletions
+4
View File
@@ -124,6 +124,10 @@ in
config.nix.package
pkgs.git
];
# Sans ça, le timer quotidien pourrait se déclencher avant que le
# réseau soit prêt après un reboot, et échouer sur le fetch git.
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
script = ''
set -euo pipefail
kernel=$(nix build --no-link --no-write-lock-file --refresh --print-out-paths "${fleetRepo}#nixosConfigurations.installer-netboot.config.system.build.kernel")