summaryrefslogtreecommitdiff
path: root/dhcp3/dhcpd.etherboot-pxe
blob: e953208fab7403784b88e24ee7c8751db93fe0b9 (plain)
  1. # This ISC dhcpd 3.x config snippet is inspired by initrd code in
  2. # contrib area of etherboot source (dhcpd.conf.etherboot.include).
  3. # Usage:
  4. #
  5. # include "/etc/local-COMMON/dhcp3/dhcpd.etherboot";
  6. # include "/etc/local-COMMON/dhcp3/dhcpd.etherboot-pxe";
  7. #
  8. # (...common options...)
  9. #
  10. # subclass "etherboot-pxe-hosts" 00:01:02:03:04:05;
  11. # subclass "etherboot-pxe-hosts" 00:01:02:03:04:06 { fixed-address 192.168.1.101; another-option "bla bla"; }
  12. # subclass "etherboot-pxe-hosts" 00:01:02:03:04:06 {
  13. # fixed-address 192.168.1.101;
  14. # another-option "bla bla";
  15. # if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
  16. # filename "/tftpboot/eepro100.lzpxe";
  17. # }
  18. # }
  19. #
  20. if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
  21. filename "/tftpboot/eepro100.lzpxe";
  22. } else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" {
  23. filename "/tftpboot/lts/vmlinuz-test.nbi";
  24. option vendor-encapsulated-options
  25. 3c:09:45:74:68:65:72:62:6f:6f:74:ff;
  26. }
  27. }