lib: add support for custom env

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-16 14:56:02 +01:00
parent 111fbf119b
commit eaeab27004
1 changed files with 2 additions and 0 deletions

View File

@ -58,4 +58,6 @@ def get_env() -> str:
return "compose"
if CONFIG.y_bool("debug"):
return "dev"
if "AK_APPLIANCE" in os.environ:
return os.environ["AK_APPLIANCE"]
return "custom"