This file is indexed.

/etc/maas/templates/dhcp/dhcpd.conf.template is in maas-cluster-controller 1.5+bzr2252-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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
{{for dhcp_subnet in dhcp_subnets}}
subnet {{dhcp_subnet['subnet']}} netmask {{dhcp_subnet['subnet_mask']}} {
       {{bootloader}}
       interface "{{dhcp_subnet['interface']}}";
       ignore-client-uids true;
       option subnet-mask {{dhcp_subnet['subnet_mask']}};
       option broadcast-address {{dhcp_subnet['broadcast_ip']}};
       option domain-name-servers {{dhcp_subnet['dns_servers']}};
       option domain-name "{{dhcp_subnet['domain_name']}}";
       option routers {{dhcp_subnet['router_ip']}};
       {{if dhcp_subnet.get('ntp_server')}}
       option ntp-servers {{dhcp_subnet['ntp_server']}};
       {{endif}}
       range dynamic-bootp {{dhcp_subnet['ip_range_low']}} {{dhcp_subnet['ip_range_high']}};
       class "PXE" {
          match if substring (option vendor-class-identifier, 0, 3) = "PXE";
          default-lease-time 30;
          max-lease-time 30;
       }
}
{{endfor}}

omapi-port 7911;
key omapi_key {
    algorithm HMAC-MD5;
    secret "{{omapi_key}}";
};
omapi-key omapi_key;