From e83201ee9ffa4451346fd165665003f6d24a0d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Mon, 16 Sep 2013 14:33:52 +0200 Subject: [PATCH] =?UTF-8?q?[ytrap-llatsni]=20Ajout=20des=20r=C3=A9cursifs?= =?UTF-8?q?=20et=20de=20la=20gateway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Python/etc/dhcp3/dhcpd.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Python/etc/dhcp3/dhcpd.conf b/Python/etc/dhcp3/dhcpd.conf index 507ca24..cddc0bc 100644 --- a/Python/etc/dhcp3/dhcpd.conf +++ b/Python/etc/dhcp3/dhcpd.conf @@ -195,7 +195,11 @@ subnet 10.231.137.0 netmask 255.255.255.0 { next-server 10.231.137.1; # Options pour le PXE option root-path "/"; + option routers 10.231.137.1; + option domain-name-servers %s; + option domain-name "crans.org"; + option domain-search "crans.org"; # Fichier a charger pour le boot par le reseau filename "pxelinux.0"; } -""" +""" % ', '.join(config.dns.recursiv['evenementiel'])