[dhcpd.conf] Oups

This commit is contained in:
Pierre-Elliott Bécue 2013-09-10 11:41:35 +02:00
parent 9dee9f18f2
commit 74ea789086

View file

@ -24,11 +24,13 @@ print """
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
ddns-update-style none;"""
if not instpar:
include "/etc/dhcp3/omapi.conf";
print """
include "/etc/dhcp3/omapi.conf";"""
print """
# option definitions common to all supported networks...
option option-252 code 252 = text ;
option domain-search code 119 = text ;
@ -38,14 +40,14 @@ option interface-mtu 1496;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
"""
if instpar:
print """
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;"""
print "authoritative;"
else:
print "#authoritative;"
print """
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;