Created
September 2, 2020 17:45
-
-
Save jdoss/f543b9e71d83fdcadb01b141087f0a25 to your computer and use it in GitHub Desktop.
Enable cgroups v2 (non hybird) on FCOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemd: | |
units: | |
- name: enable-cgroups-v2.service | |
enabled: true | |
contents: | | |
[Unit] | |
Description=Enable cgroups v2 (systemd.unified_cgroup_hierarchy) | |
ConditionFirstBoot=true | |
After=ignition-complete.target | |
Before=default.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/rpm-ostree kargs --replace systemd.unified_cgroup_hierarchy=1 --reboot | |
[Install] | |
WantedBy=basic.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment