summaryrefslogtreecommitdiffstats
path: root/dhcp.template
blob: bc95bfc98acb0c9294974fe6b7ed941b2985a825 (plain)
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
37
38
39
40
41
# ******************************************************************
# Cobbler managed dhcpd.conf file
#
# generated from cobbler dhcp.conf template ($date)
#
# Note to Admins:
#
# cobbler will only manage dhcpd.conf if "manage_dhcp: 1" is set in
# /var/lib/cobbler/settings and will only be updated
# when "cobbler sync" is run.  Also see "man cobbler"
#
# ******************************************************************

# ** these values are probably sane for most environments
ddns-update-style ad-hoc;
set vendorclass = option vendor-class-identifier;
allow booting;
allow bootp;
filename                        "/pxelinux.0";
default-lease-time              7200;
max-lease-time                  86400;

# ** this value must point to your cobbler server
next-server                     10.10.76.51;

# ** these values must be changed for your network
option domain-name              "foo.example_corp.com bar.example_corp.com"
option domain-name-servers      172.16.52.28, 172.16.52.27;
option ntp-servers              clock.example_corp.com;

# ** these whole block should be tweaked for your network
shared-network rhndev {
	subnet 10.10.76.0 netmask 255.255.254.0 {
		option routers                  10.10.77.254;
		option subnet-mask              255.255.254.0;
	}
}

# ** leave this line intact
$insert_cobbler_system_definitions