Skip to content

Commit

Permalink
kernel-args: Remove deprecated cgroups v1 example
Browse files Browse the repository at this point in the history
  • Loading branch information
travier committed Nov 15, 2024
1 parent 119161c commit 67c5e9b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions modules/ROOT/pages/kernel-args.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@

You can specify kernel arguments in a Butane config using the `kernel_arguments` section.

=== Example: Staying on cgroups v1

Starting from June 2021, cgroups v2 is the default on new installations of Fedora CoreOS. Here's an example `kernelArguments` section which adds the `systemd.unified_cgroup_hierarchy=0` kernel argument so that the machine keeps using cgroups v1:

[source,yaml,subs="attributes"]
----
variant: fcos
version: {butane-latest-stable-spec}
kernel_arguments:
should_exist:
- systemd.unified_cgroup_hierarchy=0
----

=== Example: Disabling all CPU vulnerability mitigations

Here's an example `kernelArguments` section which switches `mitigations=auto,nosmt` to `mitigations=off` to disable all CPU vulnerability mitigations:
Expand Down

0 comments on commit 67c5e9b

Please sign in to comment.