|
# cat /etc/maas/dhcpd.conf |
|
# WARNING: Do not edit /etc/maas/dhcpd.conf yourself. MAAS will overwrite any |
|
# changes made there. |
|
# |
|
# Instead, edit /etc/maas/templates/dhcp/dhcpd.conf.template and your changes |
|
# will be present whenever MAAS rewrites the DHCP configuration. Edit and save |
|
# the nodegroup's configuration in MAAS to trigger an update. |
|
|
|
option arch code 93 = unsigned integer 16; # RFC4578 |
|
option path-prefix code 210 = text; #RFC5071 |
|
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; |
|
} |
|
} |
|
|
|
omapi-port 7911; |
|
key omapi_key { |
|
algorithm HMAC-MD5; |
|
secret "ACTUALKEYHERE"; |
|
}; |
|
omapi-key omapi_key; |