Adds in generic support for UEFI PXE boot #240

Merged
merged 1 commit into from Jul 11, 2012
@@ -16,15 +16,29 @@ allow bootp;
ignore client-updates;
set vendorclass = option vendor-class-identifier;
+option pxe-system-type code 93 = unsigned integer 16;
+
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.5;
option domain-name-servers 192.168.1.1;
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.1.100 192.168.1.254;
- filename "/pxelinux.0";
default-lease-time 21600;
max-lease-time 43200;
next-server $next_server;
+ class "pxeclients" {
+ match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
+ if option pxe-system-type = 00:02 {
+ filename "ia64/elilo.efi";
+ } else if option pxe-system-type = 00:06 {
+ filename "grub/grub-x86.efi";
+ } else if option pxe-system-type = 00:07 {
+ filename "grub/grub-x86_64.efi";
+ } else {
+ filename "pxelinux.0";
+ }
+ }
+
}
#for dhcp_tag in $dhcp_tags.keys():