From bed2d7f5f618747f2b1cc71be8090278027ba718 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 7 Sep 2018 15:20:07 +0200 Subject: [PATCH] Use compiled LXC --- basic.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/basic.sh b/basic.sh index 935ae38..7f18d15 100755 --- a/basic.sh +++ b/basic.sh @@ -47,6 +47,9 @@ wget https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh -O /usr/b sed -i 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' /usr/bin/acme.sh chmod +x /usr/bin/acme.sh +# Download LXC +wget https://dl.dasm.cz/lxc.tar.xz -O - | tar xJf - -C / + # Copy VMMgr resources cp ${SOURCE_DIR}/etc/init.d/vmmgr /etc/init.d/vmmgr rc-update -u @@ -60,7 +63,7 @@ vmmgr create-selfsigned cp ${SOURCE_DIR}/etc/nginx/nginx.conf /etc/nginx/nginx.conf # Configure services -for SERVICE in consolefont crond iptables nginx ntpd swap vmmgr; do +for SERVICE in cgroups consolefont crond iptables nginx ntpd swap vmmgr; do rc-update add ${SERVICE} boot service ${SERVICE} start done