summaryrefslogtreecommitdiff
path: root/dhcp3/dhcpd.pxelinux.host
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2004-10-06 21:02:12 +0000
committerJonas Smedegaard <dr@jones.dk>2004-10-06 21:02:12 +0000
commitdd572eae7639d05066e3d3f8fcde8988f5dbc7b1 (patch)
tree90f986bcb5f1cf21556478fe591942bce80ec666 /dhcp3/dhcpd.pxelinux.host
parentfa78451ebd444f11e98f81df5265e3c7415ef7fa (diff)
Add somewhat generic dhcpd addon snippets.
Diffstat (limited to 'dhcp3/dhcpd.pxelinux.host')
-rw-r--r--dhcp3/dhcpd.pxelinux.host18
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 "/";
+}