From 0f036fc3810a9783c17e5ac4bb705a1c9691a06e Mon Sep 17 00:00:00 2001 From: kload Date: Thu, 17 Oct 2013 15:11:58 +0000 Subject: [PATCH] SSOwat domain fix at postinstall --- yunohost_tools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index ebffe1b4..538bf905 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -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)