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