From a49916549fd1d33517c2d55f80ffeac054fc1603 Mon Sep 17 00:00:00 2001 From: opencode Date: Wed, 21 Oct 2026 20:55:06 +0300 Subject: [PATCH] diag(pxe-infra): print iPXE network state in autoexec (T24 diagnosis) --- modules/pxe-infra/ipxe.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/pxe-infra/ipxe.nix b/modules/pxe-infra/ipxe.nix index 9311d17..2d5ec7a 100644 --- a/modules/pxe-infra/ipxe.nix +++ b/modules/pxe-infra/ipxe.nix @@ -159,6 +159,13 @@ # before even reaching boot.ipxe. environment.etc."pxe-infra/tftpboot/autoexec.ipxe".source = pkgs.writeText "autoexec.ipxe" '' #!ipxe + echo === ifstat === + ifstat + echo === route === + route + echo === ping === + ping --count=2 ${config.pxe-infra.bridge.address} || echo PING_FAILED + echo === chain === chain http://${config.pxe-infra.bridge.address}/${ if config.pxe-infra.bootloader.bypassFallback.enable then "boot-bypass.ipxe" else "boot.ipxe" }