changed the location of debops environment file so that debops always uses it

fixes https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3719
This commit is contained in:
Guillaume Raffy 2023-12-13 11:19:33 +01:00
parent 8b7d82399d
commit 20bac19c84
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@ controller__get_virtualenv_path()
controller__get_debops_env_path() controller__get_debops_env_path()
{ {
local debops_controller_path="$1" local debops_controller_path="$1"
echo "${debops_controller_path}/debops-environment" local local_repos_path=$(controller__get_local_repos_path "${debops_controller_path}")
echo "${local_repos_path}/.env" # see the allowed locations in man debops-config
} }
deboco__init() deboco__init()