mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
LXC: set LXC_ENV_FOLDER=lxc/$(shell hostname)/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -1077,6 +1077,11 @@ in_container() {
|
||||
[[ -f /.lxcenv ]]
|
||||
}
|
||||
|
||||
LXC_ENV_FOLDER=
|
||||
if in_container; then
|
||||
LXC_ENV_FOLDER="lxc/$(hostname)/"
|
||||
fi
|
||||
|
||||
lxc_init_container() {
|
||||
|
||||
# Create a /.lxcenv file in the root folder. Call this once after container
|
||||
|
||||
Reference in New Issue
Block a user