Use compiled LXC

This commit is contained in:
Disassembler 2018-09-07 15:20:07 +02:00
parent de640bb005
commit bed2d7f5f6
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -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