Commit 0d46446d authored by Gabriel Detraz's avatar Gabriel Detraz

Machines fil par defaut sur vlan 21

parent 09c5d69a
......@@ -233,11 +233,7 @@ class Machine(dict):
def create_init(self, type):
if type == 'fil':
self['type']='machineFixe'
etude = self.luser.get('etudes', [False])[0]
if etude == u'Personnel ENS':
self['realm']='personnel-ens'
else:
self['realm']='adherents'
self['realm']='fil-new-adherents'
elif type == 'wifi':
self['type']='machineWifi'
self['realm']='wifi-new-adherents'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment