From 2d4384b00ffb510d73880ec5969e8db1ff56b20b Mon Sep 17 00:00:00 2001 From: bernat Date: Sun, 2 Oct 2005 02:04:25 +0200 Subject: [PATCH] Marche arriere... darcs-hash:20051002000425-d1718-10ec0a1234436e1a108ae4daf7a301ef70389995.gz --- gestion/gen_confs/dhcpd.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/gestion/gen_confs/dhcpd.py b/gestion/gen_confs/dhcpd.py index 796ca673..aef85b48 100755 --- a/gestion/gen_confs/dhcpd.py +++ b/gestion/gen_confs/dhcpd.py @@ -32,22 +32,6 @@ class dhcp(gen_config) : if hostname == 'rouge' : base_conf = """option option-252 code 252 = text ; option option-119 code 119 = text ; -""" - elif hostname == 'nectaris' : - # On rajoute les IP dynamiques - base_conf = """shared-network "wifi" { - subnet 10.231.144.0 netmask 255.255.248.0 { - default-lease-time 86400; - option subnet-mask 255.255.248.0; - option broadcast-address 10.231.151.255; - option routers 10.231.148.1; - option domain-name-servers 10.231.148.1; - option domain-name "ens-cachan.fr"; - option option-119 "ens-cachan.fr"; - option netbios-node-type 2; - - range dynamic-bootp 10.231.149.1 10.231.149.254; - } """ else : base_conf = '' @@ -151,8 +135,6 @@ subnet %(network)s netmask %(netmask)s { d['HOSTs'] = hosts[net] fd.write(self.base_dhcp % d) - if hostname == 'nectaris' : - fd.write("}") # On ferme le shared-network fd.close()