diag(pxe-infra): print iPXE network state in autoexec (T24 diagnosis)
test-runner / smoke (push) Successful in 1s

This commit is contained in:
opencode committed 2026-10-21 20:55:06 +03:00
1 parent 46cac7acf2
commit a49916549f
1 file changed
+7
+7
View File
@@ -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"
}