summaryrefslogtreecommitdiff
path: root/dhcp3/dhcpd.d-i
blob: 5e2bb9ea30bbffaa0558811e8fbe55475722702e (plain)
  1. # (to be loaded _after_ dhcpd.d-i.host to override defaults
  2. class "pxeclient" {
  3. match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
  4. ## Only PXE clients, will get those options
  5. ## (when they are _actually_ net-booting from their PXE agent).
  6. site-option-space "pxelinux";
  7. option pxelinux.magic f1:00:74:7e;
  8. # Make path relative to tftp's root directory.
  9. option pxelinux.pathprefix "/";
  10. #option pxelinux.reboottime 0;
  11. ## x86 (i386, amd64, x86_64, IA32) architectures.
  12. if substring (option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000" {
  13. #filename "debian-installer/etch/i386/pxelinux.0";
  14. #option pxelinux.configfile "debian-installer/etch/i386/pxelinux.cfg/default";
  15. ## If you want to use the meta menu :
  16. filename "debian-installer/pxelinux.0";
  17. option pxelinux.configfile "debian-installer/pxelinux.cfg/default";
  18. #or# option pxelinux.configfile "debian-installer/pxelinux.cfg/default.serial-9600";
  19. }
  20. ## IA64 (Itanium)
  21. if substring (option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002" {
  22. #filename "debian-installer/etch/ia64/elilo.efi";
  23. #option pxelinux.configfile "debian-installer/etch/ia64/elilo.conf";
  24. ## If you want to use the overview menu :
  25. filename "debian-installer/elilo.efi";
  26. option pxelinux.configfile "debian-installer/elilo.conf";
  27. }
  28. if exists dhcp-parameter-request-list {
  29. # We Always send the PXELINUX options (values are in hexadecimal: 0xd0=208)
  30. option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,d0,d1,d2,d3);
  31. }
  32. }
  33. class "sun" {
  34. match if substring (option vendor-class-identifier, 0, 5) = "SUNW.";
  35. # Needs improvements: some Sun have x86 CPUs !!
  36. # uname -i : "SUNW.SPARCstation", "SUNW.Ultra", "SUNW.Sun-Blade", "SUNW.Sun-Fire"...
  37. # Replace "stable" with the actual boot image you want to boot.
  38. filename "debian-installer/stable/sparc/boot.img";
  39. }