diff options
author | Jasper Capel <jasper@newnewyork.nl> | 2008-11-09 18:53:41 +0100 |
---|---|---|
committer | Jasper Capel <jasper@newnewyork.nl> | 2008-11-09 18:53:41 +0100 |
commit | 52cbc96e003e5ce6694a533c9d0fe72c3717e44d (patch) | |
tree | 37b59937a7962fdb811c55daffe2032969c9e5e4 /templates | |
parent | 89daf0c2d057e549bf7ffc0fcd661953ef605cdf (diff) | |
download | cobbler-52cbc96e003e5ce6694a533c9d0fe72c3717e44d.tar.gz cobbler-52cbc96e003e5ce6694a533c9d0fe72c3717e44d.tar.xz cobbler-52cbc96e003e5ce6694a533c9d0fe72c3717e44d.zip |
Added example nameserver to dhcp template.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/dhcp.template | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/dhcp.template b/templates/dhcp.template index 9204fee9..c902b4fd 100644 --- a/templates/dhcp.template +++ b/templates/dhcp.template @@ -20,13 +20,14 @@ 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; - next-server $next_server; + option routers 192.168.1.5; + option domain-name-servers 192.168.1.1; + 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; + next-server $next_server; } #for dhcp_tag in $dhcp_tags.keys(): |