[config,gen_confs] gordon est le nouveau routeur wifi
darcs-hash:20091109025048-bd074-5097aaa6617c1278171ee4693f47cb79e60eb2bf.gz
This commit is contained in:
parent
9f97ac091b
commit
61d31e04a0
3 changed files with 11 additions and 1 deletions
|
@ -28,6 +28,9 @@ class dhcp(gen_config) :
|
|||
elif hostname == 'titanic':
|
||||
restart_cmd = '/etc/init.d/dhcp3-server restart'
|
||||
reseaux = { '10.2.9.0/24' : '/etc/dhcp3/generated/appartements.liste' }
|
||||
elif hostname == 'gordon':
|
||||
restart_cmd = '/etc/init.d/dhcp3-server restart'
|
||||
reseaux = { '138.231.144.0/21' : '/etc/dhcp3/generated/wifi.liste' }
|
||||
|
||||
host_template = """
|
||||
host %(nom)s {
|
||||
|
|
|
@ -289,6 +289,13 @@ class ragnarok(base_reconfigure):
|
|||
from gen_confs.droits import droits_openbsd
|
||||
self._do(droits_openbsd())
|
||||
|
||||
class gordon(base_reconfigure) :
|
||||
def dhcp(self):
|
||||
from gen_confs.dhcpd_new import dhcp
|
||||
self._do(dhcp(), self._machines())
|
||||
|
||||
|
||||
|
||||
class vert(base_reconfigure):
|
||||
def home(self, args):
|
||||
from adherents import home
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue