407802d2f7
These options block Broadcom BCM5720 cards from PXE boot and are not necessary for provisioning. Change-Id: I4c6520bca8549fe96264f25827bc1e534669b860 Closes-Bug: #1410280
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
# Cobbler generated configuration file for dnsmasq
|
|
# $date
|
|
#
|
|
|
|
read-ethers
|
|
log-queries
|
|
log-facility=/var/log/dnsmasq.log
|
|
addn-hosts = /var/lib/cobbler/cobbler_hosts
|
|
domain=<%= @domain_name %>
|
|
dhcp-lease-max=<%= @dhcp_lease_max %>
|
|
<% if @domain_name != 'local' %>
|
|
server=/<%= @domain_name %>/
|
|
<% end %>
|
|
server=/<%= @dns_domain %>/
|
|
resolv-file=/etc/dnsmasq.upstream
|
|
interface=<%= @dhcp_interface %>
|
|
|
|
cache-size=1024
|
|
|
|
# This is one of the key options. dnsmasq tries to move out servername
|
|
# and PXE filename from special fields into DHCP options.
|
|
# Some old clients can't understand those DHCP options, so they
|
|
# will not be able to boot via PXE without this option enabled.
|
|
# For example gPXE will not work while iPXE works fine.
|
|
dhcp-no-override
|
|
|
|
# for many simultaneously DHCPDISCOVVER requests dnsmasq can offer
|
|
# the same IP for two differnt MAC addresses. This option prevents it
|
|
# by assigning IPs one by one instead of using hash algorithm.
|
|
dhcp-sequential-ip
|
|
|
|
dhcp-option=6,<%= @name_server %>
|
|
|
|
dhcp-range=internal,<%= @dhcp_start_address %>,<%= @dhcp_end_address %>,<%= @dhcp_netmask %>,<%= @lease_time %>
|
|
dhcp-option=net:internal,option:router,<%= @dhcp_gateway %>
|
|
dhcp-boot=net:internal,pxelinux.0,boothost,<%= @next_server %>
|
|
|
|
$insert_cobbler_system_definitions
|