lib: add support for custom env
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
111fbf119b
commit
eaeab27004
|
@ -58,4 +58,6 @@ def get_env() -> str:
|
||||||
return "compose"
|
return "compose"
|
||||||
if CONFIG.y_bool("debug"):
|
if CONFIG.y_bool("debug"):
|
||||||
return "dev"
|
return "dev"
|
||||||
|
if "AK_APPLIANCE" in os.environ:
|
||||||
|
return os.environ["AK_APPLIANCE"]
|
||||||
return "custom"
|
return "custom"
|
||||||
|
|
Reference in New Issue