nixbld: autostart iPXE HTTP boot

This commit is contained in:
Sebastien Bourdeauducq 2023-07-02 16:31:25 +08:00
parent a9ee77b9e8
commit e2c2dbbeeb

View File

@ -283,7 +283,11 @@ in
"/fonts.googleapis.com/142.250.207.74"
];
dhcp-boot = "ipxe.efi";
dhcp-match = "set:ipxe,175"; # https://forum.ipxe.org/showthread.php?tid=6077
dhcp-boot = [
"tag:!ipxe,ipxe.efi"
"tag:ipxe,http://perso.m-labs.hk/sb/netboot/netboot.ipxe"
];
enable-tftp = netifLan;
tftp-root = "${pkgs.ipxe}";
};