From ca8039d41fe40de1237106571f684408e144d7c8 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 24 May 2007 16:11:55 -0400 Subject: 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. --- templates/dnsmasq.template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'templates') 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 -- cgit