summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-24 16:11:55 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-24 16:11:55 -0400
commitca8039d41fe40de1237106571f684408e144d7c8 (patch)
tree6e3159f21b6bb76ec1a87bef5951e31fa4f12a4e /templates
parent8cbf4c2cf24c79f194d5f66c72fdc8cd9df185a7 (diff)
downloadthird_party-cobbler-ca8039d41fe40de1237106571f684408e144d7c8.tar.gz
third_party-cobbler-ca8039d41fe40de1237106571f684408e144d7c8.tar.xz
third_party-cobbler-ca8039d41fe40de1237106571f684408e144d7c8.zip
Change cobbler code to use /etc/ethers and /var/lib/cobbler/cobbler_hosts
for dnsmasq, only writing minimal contents to /etc/dnsmasq.conf -- basically just tagging the systems with weird arches so they get the right bootloaders. "Cobbler sync" will only need to be run when adding the systems with the weird arches, and others should be dynamic without need to SIGHUP (/sbin/service restart) dnsmasq. In theory :) dnsmasq integration with cobbler is still rather experimental, but looks solid thus far. Have not actually tested any non-pxelinux.0 arches.
Diffstat (limited to 'templates')
-rw-r--r--templates/dnsmasq.template12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/dnsmasq.template b/templates/dnsmasq.template
index 17a4a85..0646b71 100644
--- a/templates/dnsmasq.template
+++ b/templates/dnsmasq.template
@@ -3,16 +3,18 @@
#
# resolve.conf .. ?
-no-poll
+#no-poll
+#enable-dbus
+read-ethers
+addn-hosts = /var/lib/cobbler/hosts_cobbler/
dhcp-range=192.168.1.5,192.168.1.200
dhcp-option=3,$next_server
-dhcp-boot=pxelinux.0
dhcp-lease-max=1000
dhcp-authoritative
-
-# FYI: using tftp-server for TFTP ...
-
+dhcp-boot=pxelinux.0
+dhcp-boot=net:normalarch,pxelinux.0
+dhcp-boot=net:ia64,$elilo
$insert_cobbler_system_definitions