Mount cgroup in /etc/fstab by default

This commit is contained in:
Disassembler 2018-07-09 17:08:34 +02:00
parent 4a6974415f
commit 5a0a00f296
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

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