Bug : oubli de config du switch lors de l'inscritpion.
darcs-hash:20041216234950-41617-8fa0e9452d15deba3b0124c80b0073446e4e15f9.gz
This commit is contained in:
parent
301abf1dd3
commit
c59c100795
1 changed files with 4 additions and 0 deletions
|
@ -2034,6 +2034,10 @@ class machine(base_classes_crans) :
|
|||
"""
|
||||
if self.proprietaire().__class__ == crans and not isadm :
|
||||
raise EnvironmentError(u'Il faut être administrateur pour effectuer cette opération.')
|
||||
|
||||
if not self._init_data :
|
||||
# Nouvelle machine => configuration prise
|
||||
self.services_to_restart('switch',[self.proprietaire().chbre()])
|
||||
|
||||
ret =''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue