Plus besoin de shared-network
darcs-hash:20051230231018-d1718-d62b3c2a449a759b32370827b40386a28e6d86aa.gz
This commit is contained in:
parent
caed55ff03
commit
69903391f5
1 changed files with 1 additions and 3 deletions
|
@ -35,7 +35,7 @@ option option-119 code 119 = text ;
|
||||||
"""
|
"""
|
||||||
elif hostname == 'nectaris' :
|
elif hostname == 'nectaris' :
|
||||||
# On rajoute les IP dynamiques
|
# On rajoute les IP dynamiques
|
||||||
base_conf = """shared-network "wifi" {
|
base_conf = """
|
||||||
subnet 10.231.144.0 netmask 255.255.248.0 {
|
subnet 10.231.144.0 netmask 255.255.248.0 {
|
||||||
default-lease-time 900;
|
default-lease-time 900;
|
||||||
max-lease-time 900;
|
max-lease-time 900;
|
||||||
|
@ -151,8 +151,6 @@ subnet %(network)s netmask %(netmask)s {
|
||||||
d['HOSTs'] = hosts[net]
|
d['HOSTs'] = hosts[net]
|
||||||
|
|
||||||
fd.write(self.base_dhcp % d)
|
fd.write(self.base_dhcp % d)
|
||||||
if hostname == 'nectaris' :
|
|
||||||
fd.write("}") # On ferme le shared-network
|
|
||||||
|
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue