Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Last active September 24, 2018 14:36
Show Gist options
  • Save cleverca22/6077ceaeaaa93470ff1810499c534dc7 to your computer and use it in GitHub Desktop.
Save cleverca22/6077ceaeaaa93470ff1810499c534dc7 to your computer and use it in GitHub Desktop.
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";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment