diff options
Diffstat (limited to 'dhcp3/dhcpd.pxelinux.host')
-rw-r--r-- | dhcp3/dhcpd.pxelinux.host | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dhcp3/dhcpd.pxelinux.host b/dhcp3/dhcpd.pxelinux.host new file mode 100644 index 0000000..33d0c19 --- /dev/null +++ b/dhcp3/dhcpd.pxelinux.host @@ -0,0 +1,18 @@ +class "pxeclient" { + match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; + + # Always include the following lines for all PXELINUX clients + site-option-space "pxelinux"; + option pxelinux.magic f1:00:74:7e; + if exists dhcp-parameter-request-list { + # Always send the PXELINUX options + append dhcp-parameter-request-list 208, 209, 210, 211; + } + + # Allow config based on MAC address + option pxelinux.configfile = concat("/pxelinux.cfg/", binary-to-ascii(16, 8, ":", hardware)); + + # Load pxelinux from subfolder (make that a symlink to the actual location of syslinux binaries) + filename "/pxelinux/pxelinux.0"; + option pxelinux.pathprefix "/"; +} |