From: Michael Tremer Date: Mon, 28 Sep 2015 23:31:19 +0000 (+0100) Subject: Send the architecture and BIOS type we are running on to the server X-Git-Tag: v1.1^0 X-Git-Url: http://git.ipfire.org/?p=oddments%2Fipfire-netboot.git;a=commitdiff_plain;h=e322297143617bccf4dc2d4c3010bd0689f29134 Send the architecture and BIOS type we are running on to the server Signed-off-by: Michael Tremer --- 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}