From e322297143617bccf4dc2d4c3010bd0689f29134 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 29 Sep 2015 00:31:19 +0100 Subject: [PATCH] Send the architecture and BIOS type we are running on to the server Signed-off-by: Michael Tremer --- ipfireboot.ipxe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ipfireboot.ipxe b/ipfireboot.ipxe index 0f6a146..6d98a00 100644 --- a/ipfireboot.ipxe +++ b/ipfireboot.ipxe @@ -1,6 +1,9 @@ #!ipxe +# Determine the architecture we are running on +cpuid --ext 29 && set arch x86_64 || set arch i386 + # Try to boot from DHCP. dhcp net0 -chain http://boot.ipfire.org/menu.gpxe +chain http://boot.ipfire.org/menu.gpxe?arch=${arch}&platform=${platform} -- 2.39.2