12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # ******************************************************************
- # Cobbler managed dhcpd.conf file
- #
- # generated from cobbler dhcp.conf template ($date)
- # Do NOT make changes to /etc/dhcpd.conf. Instead, make your changes
- # in /etc/cobbler/dhcp.template, as /etc/dhcpd.conf will be
- # overwritten.
- #
- # ******************************************************************
- ddns-update-style interim;
- allow booting;
- allow bootp;
- ignore client-updates;
- set vendorclass = option vendor-class-identifier;
- option pxe-system-type code 93 = unsigned integer 16;
- subnet subnet_mask netmask net_mask {
- option subnet-mask net_mask;
- range dynamic-bootp start end;
- default-lease-time default;
- max-lease-time max;
- next-server next_server;
- #insert the static DHCP leases for configuration here
- class "pxeclients" {
- match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
- if option pxe-system-type = 00:02 {
- filename "ia64/elilo.efi";
- } else if option pxe-system-type = 00:06 {
- filename "grub/grub-x86.efi";
- } else if option pxe-system-type = 00:07 {
- filename "grub/grub-x86_64.efi";
- } else if option pxe-system-type = 00:09 {
- filename "grub/grub-x86_64.efi";
- } else {
- filename "pxelinux.0";
- }
- }
- }
- #end for
|