From f63b45d8eabfbaece9b4df750b5100c17d6f96e2 Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Thu, 8 Sep 2022 17:26:07 +0200 Subject: [PATCH] set environ PATH_TO_OBSCONF_FILE var in pyros install --- pyros.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/pyros.py b/pyros.py index d893f15..c0e2a73 100755 --- a/pyros.py +++ b/pyros.py @@ -573,6 +573,8 @@ def install_or_update(UPDATE: bool = False, with_packages: bool = True, with_dat SQL_PSWD = os.environ.get("MYSQL_PYROS_PWD").strip() os.environ["PATH_TO_OBSCONF_FOLDER"] = os.path.join(os.path.abspath( PYROS_DJANGO_BASE_DIR), "../../../privatedev/config/default/") + os.environ["PATH_TO_OBSCONF_FILE"] = os.path.join(os.path.abspath( + PYROS_DJANGO_BASE_DIR), os.environ["PATH_TO_OBSCONF_FOLDER"] + "observatory_default.yml") ACTION = "UPDATING" if UPDATE else "INSTALLING" # if WITH_DOCKER: with_database = True -- libgit2 0.21.2