cleverca22
4/20/2016 - 3:38 AM

gistfile1.txt

subnet 192.168.2.0 netmask 255.255.255.0 {
  option domain-search "localnet";
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.2.255;
  option routers 192.168.2.1;
  option domain-name-servers 192.168.2.1;
  range 192.168.2.100 192.168.2.200;
  next-server 192.168.2.61;
  if exists user-class and option user-class = "iPXE" {
    filename "http://c2d.localnet/boot.php?mac=${net0/mac}&asset=${asset:uristring}";
  } else {
    filename = "undionly.kpxe";
  }
}