diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-05 15:15:28 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-05 15:15:28 +0200 |
| commit | c2caf9569c5b6e1a9d143382c2045983f7c6dd61 (patch) | |
| tree | bb39fb7eb31c635ee8c6f1dbc32ac87d675eda8d /utils/lxc.sh | |
| parent | c748047e926ce6979ab07a8a3ed3d0cc96f534ba (diff) | |
[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>
Diffstat (limited to 'utils/lxc.sh')
| -rwxr-xr-x | utils/lxc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh index 92dfff2d1..9eb28f498 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -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" |