adamant-kite-43734
11/15/2023, 4:40 PMancient-pizza-13099
11/16/2023, 11:17 AMfuture-accountant-19088
11/16/2023, 2:51 PMoption domain-name "pxe-dhcp.domain";
option domain-name-servers 10.70.0.2;
default-lease-time 600;
max-lease-time 720;
ddns-update-style none;
option architecture-type code 93 = unsigned integer 16;
authoritative;
host node1 { hardware ethernet 00:0c:29:37:ee:db; }
option tftp-server-name "10.70.0.2";
if exists user-class and option user-class = "iPXE" {
# iPXE Boot
if option architecture-type = 00:07 {
option bootfile-name "<http://10.70.0.2/harvester/ipxe-create>";
} else {
option bootfile-name "<http://10.70.0.2/harvester/ipxe-create-efi>";
}
} else {
# PXE Boot
if option architecture-type = 00:07 {
# UEFI
option bootfile-name "ipxe.efi";
} else {
# Non-UEFI
option bootfile-name "undionly.kpxe";
}
}
subnet 10.70.0.0 netmask 255.255.255.0 {
allow unknown-clients;
option domain-name-servers 10.70.0.2;
option routers 10.70.0.1;
range 10.70.0.4 10.70.0.9;
next-server 10.70.0.2;
}
future-accountant-19088
11/16/2023, 2:57 PMancient-pizza-13099
11/17/2023, 9:32 AM