From fe0777eaf2c0d7f113b3e6bd2be996b7afa12657 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 13 Mar 2020 13:18:05 +0100 Subject: [PATCH] Start cgroupfs on boot --- vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm.sh b/vm.sh index 5a5764b..8ff1a42 100755 --- a/vm.sh +++ b/vm.sh @@ -90,7 +90,7 @@ wget https://repo.spotter.cz/vm.tar.gz -O - | tar xzf - -C /mnt envsubst /mnt/boot/extlinux.conf chroot /mnt apk --no-cache add bridge ca-certificates curl e2fsprogs-extra gettext iptables kbd-misc logrotate postfix nginx openssh-server openssh-sftp-server util-linux wireguard-virt wireguard-tools-wg spoc@vm vmmgr@vm chroot /mnt newaliases -for SERVICE in consolefont crond iptables networking nginx ntpd postfix spoc swap urandom vmmgr; do +for SERVICE in cgroups consolefont crond iptables networking nginx ntpd postfix spoc swap urandom vmmgr; do ln -s /etc/init.d/${SERVICE} /mnt/etc/runlevels/boot done ADMINPWD=$(htpasswd -bnBC 10 '' "${ENCPWD}" | tr -d ':\n' | sed 's/$2y/$2b/') envsubst /mnt/etc/vmmgr/config.json.new