SSOwat domain fix at postinstall

This commit is contained in:
kload 2013-10-17 15:11:58 +00:00
parent 5ac9d7d3a3
commit 0f036fc381

View file

@ -32,7 +32,7 @@ import subprocess
import requests
import json
from yunohost import YunoHostError, YunoHostLDAP, validate, colorize, get_required_args, win_msg
from yunohost_domain import domain_add, domain_list
from yunohost_domain import domain_add, domain_list, domain_ssowatconf
from yunohost_dyndns import dyndns_subscribe
from yunohost_backup import backup_init
@ -271,6 +271,9 @@ def tools_postinstall(domain, password, dyndns=False):
# New domain config
tools_maindomain(old_domain='yunohost.org', new_domain=domain, dyndns=dyndns)
# Generate SSOwat configuration file
domain_ssowatconf()
# Change LDAP admin password
tools_adminpw(old_password='yunohost', new_password=password)