mirror of
https://github.com/searxng/searxng.git
synced 2025-08-27 13:56:57 +02:00
[fix] creation of /.lxcenv in containers
In utils/lib.sh there are two functions with the same name, but different tasks. Rename one of them from lxc_init_container() into lxc_init_container_env(). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
c748047e92
commit
c2caf9569c
2 changed files with 6 additions and 5 deletions
|
@ -538,6 +538,7 @@ lxc_install_boilerplate() {
|
|||
if lxc start -q "${container_name}" &>/dev/null; then
|
||||
sleep 5 # guest needs some time to come up and get an IP
|
||||
fi
|
||||
lxc_init_container_env "${container_name}"
|
||||
info_msg "[${_BBlue}${container_name}${_creset}] install /.lxcenv.mk .."
|
||||
cat <<EOF | lxc exec "${container_name}" -- bash | prefix_stdout "[${_BBlue}${container_name}${_creset}] "
|
||||
rm -f "/.lxcenv.mk"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue