summaryrefslogtreecommitdiff
path: root/utils/lxc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-xutils/lxc.sh1
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"