diff options
Diffstat (limited to 'dhcp3/dhcpd.etherboot-pxe')
-rw-r--r-- | dhcp3/dhcpd.etherboot-pxe | 29 |
1 files changed, 29 insertions, 0 deletions
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; + } +} |