From dd572eae7639d05066e3d3f8fcde8988f5dbc7b1 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 6 Oct 2004 21:02:12 +0000 Subject: Add somewhat generic dhcpd addon snippets. --- dhcp3/dhcpd.pxelinux.host | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dhcp3/dhcpd.pxelinux.host (limited to 'dhcp3/dhcpd.pxelinux.host') 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 "/"; +} -- cgit v1.2.3