Skip to content

Instantly share code, notes, and snippets.

@hugespoon
Created January 5, 2015 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugespoon/f72b711724e36403aec1 to your computer and use it in GitHub Desktop.
Save hugespoon/f72b711724e36403aec1 to your computer and use it in GitHub Desktop.
subnet 172.16.1.0 netmask 255.255.255.0 {
if option arch = 00:0E {
filename "pxelinux.0";
option path-prefix "ppc64el/";
} elsif option arch = 00:07 {
filename "bootx64.efi";
} elsif option arch = 00:0C {
filename "bootppc64.bin";
} else {
filename "pxelinux.0";
}
interface "eth0:0";
ignore-client-uids true;
option subnet-mask 255.255.255.0;
option broadcast-address 172.16.1.255;
option domain-name-servers 158.85.86.7;
option domain-name "maas";
option routers 172.16.1.1;
option ntp-servers 91.189.94.4;
range dynamic-bootp 172.16.1.100 172.16.1.200;
class "PXE" {
match if substring (option vendor-class-identifier, 0, 3) = "PXE";
default-lease-time 30;
max-lease-time 30;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment