Skip to content

Commit ef6d83b

Browse files
author
Tim Bannister
committed
Clarify example for setting Linux command line
1 parent 66081ef commit ef6d83b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

content/en/docs/setup/production-environment/container-runtimes.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,17 @@ If systemd doesn't use cgroup v2 by default, you can configure the system to use
7676
`systemd.unified_cgroup_hierarchy=1` to the kernel command line.
7777

7878
```shell
79-
# dnf install -y grubby && \
79+
# This example is for a Linux OS that uses the DNF package manager
80+
# Your system might use a different method for setting the command line
81+
# that the Linux kernel uses.
82+
sudo dnf install -y grubby && \
8083
sudo grubby \
8184
--update-kernel=ALL \
8285
--args="systemd.unified_cgroup_hierarchy=1"
8386
```
8487

85-
To apply the configuration, it is necessary to reboot the node.
88+
If you change the command line for the kernel, you must reboot the node before your
89+
change takes effect.
8690

8791
There should not be any noticeable difference in the user experience when switching to cgroup v2, unless
8892
users are accessing the cgroup file system directly, either on the node or from within the containers.

0 commit comments

Comments
 (0)