pxe-publish attend le réseau + doc du souci IP statique
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user