From 5a0a00f296c37f6be8897b0133c18ba1f121dea9 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 9 Jul 2018 17:08:34 +0200 Subject: [PATCH] Mount cgroup in /etc/fstab by default --- alpine.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/alpine.sh b/alpine.sh index a19ec3b..56afb21 100755 --- a/alpine.sh +++ b/alpine.sh @@ -65,9 +65,10 @@ setup-disk -m sys /mnt # Update boot-time volume information BOOT_UUID=$(blkid /dev/sda1 | cut -d' ' -f2 | tr -d '"') cat </mnt/etc/fstab -/dev/vg0/root / ext4 rw,noatime,data=ordered 0 1 -${BOOT_UUID} /boot ext4 rw,noatime,data=ordered 0 2 -/dev/vg0/swap swap swap defaults 0 0 +/dev/vg0/root / ext4 rw,noatime,data=ordered 0 1 +${BOOT_UUID} /boot ext4 rw,noatime,data=ordered 0 2 +/dev/vg0/swap swap swap defaults 0 0 +cgroup /sys/fs/cgroup cgroup defaults 0 0 EOF echo "system /dev/sda2 none luks" >/mnt/etc/crypttab