summaryrefslogtreecommitdiff
path: root/dhcp3/dhcpd.etherboot-legacy
blob: 0261498461f5c31eefcf8dfdcf80365d64aeb1e4 (plain)
  1. # Legacy site-local option support
  2. # If client does not include an etherboot-encapsulated-options field in its DHCPREQUEST, then
  3. # it will not understand etherboot-encapsulated-options in the DHCPACK and so we must send
  4. # back the options as site-local options (i.e. not encapsulated).
  5. # Note: we need do this only for options that existed prior to the switch to encapsulation.
  6. #
  7. # For some reason the encapsulation option makes isc-dhcpd-V3.0.1rc11
  8. # crash (too much info encapsulated?).
  9. option etherboot-encapsulated-options code 150 = encapsulate etherboot;
  10. # Some of these options are untested and may clash with reserved code
  11. # numbers when legacy, so they have been commented out here.
  12. #option legacy-etherboot-extensions-path code 18 = string;
  13. option legacy-etherboot-magic code 128 = string;
  14. option legacy-etherboot-kernel-cmdline code 129 = string;
  15. #option legacy-etherboot-netdevice code 130 = text;
  16. option legacy-etherboot-menu-opts code 160 = string;
  17. option legacy-etherboot-menu-selection code 176 = unsigned integer 8;
  18. option legacy-etherboot-motd-1 code 184 = string;
  19. option legacy-etherboot-motd-2 code 185 = string;
  20. option legacy-etherboot-motd-3 code 186 = string;
  21. option legacy-etherboot-motd-4 code 187 = string;
  22. option legacy-etherboot-motd-5 code 188 = string;
  23. option legacy-etherboot-motd-6 code 189 = string;
  24. option legacy-etherboot-motd-7 code 190 = string;
  25. option legacy-etherboot-motd-8 code 191 = string;
  26. option legacy-etherboot-image-1 code 192 = string;
  27. option legacy-etherboot-image-2 code 193 = string;
  28. option legacy-etherboot-image-3 code 194 = string;
  29. option legacy-etherboot-image-4 code 195 = string;
  30. option legacy-etherboot-image-5 code 196 = string;
  31. option legacy-etherboot-image-6 code 197 = string;
  32. option legacy-etherboot-image-7 code 198 = string;
  33. option legacy-etherboot-image-8 code 199 = string;
  34. option legacy-etherboot-image-9 code 200 = string;
  35. option legacy-etherboot-image-10 code 201 = string;
  36. option legacy-etherboot-image-11 code 202 = string;
  37. option legacy-etherboot-image-12 code 203 = string;
  38. option legacy-etherboot-image-13 code 204 = string;
  39. option legacy-etherboot-image-14 code 205 = string;
  40. option legacy-etherboot-image-15 code 206 = string;
  41. option legacy-etherboot-image-16 code 207 = string;
  42. #option legacy-etherboot-kmod code 254 = string;
  43. if (
  44. ( substring ( option vendor-class-identifier, 0, 9 ) = "Etherboot" )
  45. and
  46. ( not exists etherboot-encapsulated-options )
  47. ) {
  48. # option legacy-etherboot-extensions-path = config-option etherboot.extensions-path;
  49. option legacy-etherboot-magic = config-option etherboot.magic;
  50. option legacy-etherboot-kernel-cmdline = config-option etherboot.kernel-cmdline;
  51. # option legacy-etherboot-netdevice = config-option etherboot.netdevice;
  52. option legacy-etherboot-menu-opts = config-option etherboot.menu-opts;
  53. option legacy-etherboot-menu-selection = config-option etherboot.menu-selection;
  54. option legacy-etherboot-motd-1 = config-option etherboot.motd-1;
  55. option legacy-etherboot-motd-2 = config-option etherboot.motd-2;
  56. option legacy-etherboot-motd-3 = config-option etherboot.motd-3;
  57. option legacy-etherboot-motd-4 = config-option etherboot.motd-4;
  58. option legacy-etherboot-motd-5 = config-option etherboot.motd-5;
  59. option legacy-etherboot-motd-6 = config-option etherboot.motd-6;
  60. option legacy-etherboot-motd-7 = config-option etherboot.motd-7;
  61. option legacy-etherboot-motd-8 = config-option etherboot.motd-8;
  62. option legacy-etherboot-image-1 = config-option etherboot.image-1;
  63. option legacy-etherboot-image-2 = config-option etherboot.image-2;
  64. option legacy-etherboot-image-3 = config-option etherboot.image-3;
  65. option legacy-etherboot-image-4 = config-option etherboot.image-4;
  66. option legacy-etherboot-image-5 = config-option etherboot.image-5;
  67. option legacy-etherboot-image-6 = config-option etherboot.image-6;
  68. option legacy-etherboot-image-7 = config-option etherboot.image-7;
  69. option legacy-etherboot-image-8 = config-option etherboot.image-8;
  70. option legacy-etherboot-image-9 = config-option etherboot.image-9;
  71. option legacy-etherboot-image-10 = config-option etherboot.image-10;
  72. option legacy-etherboot-image-11 = config-option etherboot.image-11;
  73. option legacy-etherboot-image-12 = config-option etherboot.image-12;
  74. option legacy-etherboot-image-13 = config-option etherboot.image-13;
  75. option legacy-etherboot-image-14 = config-option etherboot.image-14;
  76. option legacy-etherboot-image-15 = config-option etherboot.image-15;
  77. option legacy-etherboot-image-16 = config-option etherboot.image-16;
  78. # option legacy-etherboot-kmod = config.option etherboot.kmod;
  79. }