WDS UEFI / BIOS DHCP Options

To get the WDS server to support deploying to UEFI hardware you need to set a different filnema in DHCP options.

This is the config I ended up with in my ISC DHCP subnet :

subnet 10.0.0.0 netmask 255.255.255.0 {

# Foreman Provisioning for Linux
#next-server 10.0.0.11;
#filename "/pxelinux.0";

# WDS for BIOS
#next-server 10.0.0.12;
#filename "boot\\x64\\wdsnbp.com";

# WDS for UEFI
next-server 10.0.0.13;
filename "boot\\x64\\wdsmgfw.efi";

This way I can easily switch between the deployment type i need by commenting out the two others.

NOTE: This is only a section of the subnet config regarding WDS, there are other options and settings that need to be configured in the subnet clause for the DHCP Server to function

NOTE: It is possible to create DHCP policies that will detect if the dhcp client is UEFI or Legacy BIOS system and then PXE boot to the correct environment based on that, but that still does not give me the freedom to select Foreman provisioning as above.

More information about how to do that here:
http://www.itfaq.dk/2016/07/27/use-dhcp-to-detect-uefi-or-legacy-bios-system-and-pxe-boot-to-sccm/

Leave a Reply