diff --git a/usr/lib/python3.8/vmmgr/vmmgr.py b/usr/lib/python3.8/vmmgr/vmmgr.py index 387a66e..989ff25 100644 --- a/usr/lib/python3.8/vmmgr/vmmgr.py +++ b/usr/lib/python3.8/vmmgr/vmmgr.py @@ -169,7 +169,6 @@ def update_app_config(app_name=None): env['VOLUMES_DIR'] = spoc_config.VOLUMES_DIR env['APPS_DIR'] = spoc_config.APPS_DIR env['LOG_DIR'] = spoc_config.LOG_DIR - env['DOMAIN'] = host['domain'] env['PORT'] = host['port'] env['EMAIL'] = common['email'] env['GMAPS_API_KEY'] = common['gmaps-api-key'] @@ -177,7 +176,7 @@ def update_app_config(app_name=None): for app_name in app_names: install_dir = os.path.join(spoc_config.APPS_DIR, app_name, 'install') script_path = os.path.join(install_dir, 'update-conf.sh') - env['HOST'] = apps[app_name]['host'] + env['HOST'] = f'{apps[app_name]["host"]}.{host["domain"]}' try: subprocess.run(script_path, cwd=install_dir, env=env) except: