summaryrefslogtreecommitdiffstats
path: root/dhcp.template
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-09-26 16:44:13 -0400
committerJim Meyering <jim@meyering.net>2006-09-26 16:44:13 -0400
commit05d731114e2ca2353e613eaa254d99b38938a05d (patch)
treeb0b1be8813f9a8edd2e939e7115b550f41e13869 /dhcp.template
parentf462aa7ba1da76952d252f31087bf1c05cbf9f0d (diff)
downloadthird_party-cobbler-05d731114e2ca2353e613eaa254d99b38938a05d.tar.gz
third_party-cobbler-05d731114e2ca2353e613eaa254d99b38938a05d.tar.xz
third_party-cobbler-05d731114e2ca2353e613eaa254d99b38938a05d.zip
Simpler dhcp.template
Diffstat (limited to 'dhcp.template')
-rw-r--r--dhcp.template43
1 files changed, 16 insertions, 27 deletions
diff --git a/dhcp.template b/dhcp.template
index cf92312..7be62b2 100644
--- a/dhcp.template
+++ b/dhcp.template
@@ -3,37 +3,26 @@
#
# 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;
+ddns-update-style interim;
+
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;
- }
+
+ignore client-updates;
+set vendorclass = option vendor-class-identifier;
+
+subnet 192.168.1.0 netmask 255.255.255.0 {
+ option routers 192.168.1.5;
+ option subnet-mask 255.255.255.0;
+ range dynamic-bootp 192.168.1.100 192.168.1.254;
+ filename "/pxelinux.0";
+ default-lease-time 21600;
+ max-lease-time 43200;
}
$insert_cobbler_system_definitions
+
+
+