Fix bug in dnsmasq config
When starting to use dnsmasq version 2.78, we were getting the error: bad dhcp-range when using: dhcp-range=192.168.122.1,192.168.122.254,static,255.255.255.0,12h That configuration is apparently wrong as explained in this mail: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2016q1/010386.html The second IP address should be removed because we are using static ip addresses Change-Id: I6e9d36ee8c9dc487bbd86062981667c35a0fe128 Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
parent
6db1bee4c3
commit
0f605cd723
|
@ -64,7 +64,7 @@ domain={{ domain }}
|
|||
{% if testing | bool == true %}
|
||||
dhcp-range=192.168.122.2,192.168.122.254,12h
|
||||
{% elif inventory_dhcp | bool == true %}
|
||||
dhcp-range={{dhcp_pool_start}},{{dhcp_pool_end}},static,{{dhcp_static_mask}},{{dhcp_lease_time}}
|
||||
dhcp-range={{dhcp_pool_start}},static,{{dhcp_static_mask}},{{dhcp_lease_time}}
|
||||
{% else %}
|
||||
dhcp-range={{dhcp_pool_start}},{{dhcp_pool_end}},{{dhcp_lease_time}}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue