[generate] On donne du dhcp à toutes les machines enregistrées
This commit is contained in:
parent
aa42f67328
commit
2c55d403c5
2 changed files with 1 additions and 5 deletions
|
@ -270,14 +270,10 @@ class dyson(base_reconfigure):
|
||||||
from autostatus import autostatus
|
from autostatus import autostatus
|
||||||
self._do(autostatus())
|
self._do(autostatus())
|
||||||
|
|
||||||
def dhcp(self):
|
|
||||||
from gen_confs.dhcpd_new import dhcp
|
|
||||||
self._do(dhcp(), self._machines())
|
|
||||||
|
|
||||||
class dhcp(base_reconfigure):
|
class dhcp(base_reconfigure):
|
||||||
def dhcp(self):
|
def dhcp(self):
|
||||||
from gen_confs.dhcpd_new import dhcp
|
from gen_confs.dhcpd_new import dhcp
|
||||||
self._do(dhcp(), self._machines())
|
self._do(dhcp(), db.search("mid=*")['machine'])
|
||||||
|
|
||||||
class sable(base_reconfigure):
|
class sable(base_reconfigure):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue