Skip to content

Instantly share code, notes, and snippets.

@sallyom
Created September 22, 2021 13:59
Show Gist options
  • Save sallyom/6063d143b18142f0aa09bf36f11c2297 to your computer and use it in GitHub Desktop.
Save sallyom/6063d143b18142f0aa09bf36f11c2297 to your computer and use it in GitHub Desktop.
Steps to enable cgroups v2 in centos 8, fedora
1. Edit /etc/default/grub
- Append `systemd.unified_cgroup_hierarchy=1` to line `GRUB_CMDLINE_LINUX=`
2. Generate grub config file
```shell
grub2-mkconfig -o /boot/grub2/grub.cfg
```
3. reboot
@sallyom
Copy link
Author

sallyom commented Sep 22, 2021

  1. Edit /etc/default/grub
    • Append systemd.unified_cgroup_hierarchy=1 to line GRUB_CMDLINE_LINUX=
  2. Generate grub config file
grub2-mkconfig -o /boot/grub2/grub.cfg
  1. reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment