summaryrefslogtreecommitdiff
path: root/dhcp3/dhcpd.etherboot
blob: 1f3ef629e47d9806f728340211b9d8bca40c481b (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. #
  7. # # (...common options...)
  8. #
  9. # # Accepted hosts (syntax is "1:" + MAC address)
  10. # subclass "etherboot-hosts" 00:01:02:03:04:05;
  11. # subclass "etherboot-hosts" 00:01:02:03:04:06 { fixed-address 192.168.1.101; another-option "bla bla"; }
  12. #
  13. # image-n syntax: "label:server:gateway:filename:passwd:flags:cmdline"
  14. option space etherboot;
  15. option etherboot.extensions-path code 18 = string;
  16. option etherboot.magic code 128 = string;
  17. option etherboot.kernel-cmdline code 129 = text;
  18. option etherboot.netdevice code 130 = text; # Root NFS device for multihomed diskless clients (example: "eth1")
  19. option etherboot.menu-opts code 160 = text;
  20. option etherboot.nic-dev-id code 175 = string;
  21. option etherboot.menu-selection code 176 = unsigned integer 8;
  22. option etherboot.motd-1 code 184 = text;
  23. option etherboot.motd-2 code 185 = text;
  24. option etherboot.motd-3 code 186 = text;
  25. option etherboot.motd-4 code 187 = text;
  26. option etherboot.motd-5 code 188 = text;
  27. option etherboot.motd-6 code 189 = text;
  28. option etherboot.motd-7 code 190 = text;
  29. option etherboot.motd-8 code 191 = text;
  30. option etherboot.image-1 code 192 = text;
  31. option etherboot.image-2 code 193 = text;
  32. option etherboot.image-3 code 194 = text;
  33. option etherboot.image-4 code 195 = text;
  34. option etherboot.image-5 code 196 = text;
  35. option etherboot.image-6 code 197 = text;
  36. option etherboot.image-7 code 198 = text;
  37. option etherboot.image-8 code 199 = text;
  38. option etherboot.image-9 code 200 = text;
  39. option etherboot.image-10 code 201 = text;
  40. option etherboot.image-11 code 202 = text;
  41. option etherboot.image-12 code 203 = text;
  42. option etherboot.image-13 code 204 = text;
  43. option etherboot.image-14 code 205 = text;
  44. option etherboot.image-15 code 206 = text;
  45. option etherboot.image-16 code 207 = text;
  46. option etherboot.kmod code 254 = string;
  47. #class "etherboot-hosts" {
  48. # match pick-first-value (option dhcp-client-identifier, hardware);
  49. #}
  50. # Etherboot sends a string to identify the NIC in etherboot.nic-dev-id.
  51. # For PCI NICs, this string is of the form "PCI:vvvv:dddd" where vvvv is the
  52. # vendor identifier and dddd the device identifier, in lower-case ASCII hex.
  53. #
  54. # Normally you simply include the file generated by mknbi-set.
  55. #
  56. # Here's a sample output of that tool:
  57. #
  58. #if substring ( option vendor-class-identifier, 0, 9 ) = "Etherboot" {
  59. # if exists etherboot.nic-dev-id {
  60. # # Legacy nic-dev-id mechanism: there are some DLink DFE538 cards in circulation that
  61. # # predated the change to the new nic-dev-id binary structure
  62. # if option etherboot.nic-dev-id = "PCI:1186:1300" { option etherboot.kmod "8139too"; }
  63. #
  64. # # Generated from mknbi-set.conf
  65. #
  66. # }
  67. #}