diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 6c1662cb..a370a78c 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -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 =''