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.etherboot-pxe | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dhcp3/dhcpd.etherboot-pxe (limited to 'dhcp3/dhcpd.etherboot-pxe') diff --git a/dhcp3/dhcpd.etherboot-pxe b/dhcp3/dhcpd.etherboot-pxe new file mode 100644 index 0000000..e953208 --- /dev/null +++ b/dhcp3/dhcpd.etherboot-pxe @@ -0,0 +1,29 @@ +# This ISC dhcpd 3.x config snippet is inspired by initrd code in +# contrib area of etherboot source (dhcpd.conf.etherboot.include). + +# Usage: +# +# include "/etc/local-COMMON/dhcp3/dhcpd.etherboot"; +# include "/etc/local-COMMON/dhcp3/dhcpd.etherboot-pxe"; +# +# (...common options...) +# +# subclass "etherboot-pxe-hosts" 00:01:02:03:04:05; +# subclass "etherboot-pxe-hosts" 00:01:02:03:04:06 { fixed-address 192.168.1.101; another-option "bla bla"; } +# subclass "etherboot-pxe-hosts" 00:01:02:03:04:06 { +# fixed-address 192.168.1.101; +# another-option "bla bla"; +# if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { +# filename "/tftpboot/eepro100.lzpxe"; +# } +# } +# + +if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { + filename "/tftpboot/eepro100.lzpxe"; + } else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" { + filename "/tftpboot/lts/vmlinuz-test.nbi"; + option vendor-encapsulated-options + 3c:09:45:74:68:65:72:62:6f:6f:74:ff; + } +} -- cgit v1.2.3