Skip to content

Commit

Permalink
Merge pull request #338 from stockholmux/1-16-x-autoload
Browse files Browse the repository at this point in the history
Re-add 1.16.x kernel autoload setting reference
  • Loading branch information
stockholmux authored Oct 26, 2023
2 parents 5bf7f51 + 61165c0 commit 9417e1f
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion data/settings/1.16.x/kernel.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,25 @@ direct_toml = """
[settings.kernel.sysctl]
"user.max_user_namespaces" = "16384"
"vm.max_map_count" = "262144"
"""
"""

[[docs.ref.modules_autoload]]
name_override = "modules.<name>.autoload"
description = "If `true`, the kernel `<name>` module loads automatically on boot."
note = """
You must use this setting in conjuction with [`settings.kernel.modules.<name>.allowed`](#modules_allowed) on the same module.
This ensures that the OS doesn't auto-load a blocked module.
"""
accepted_values = [
"`true`",
"`false`"
]
[[docs.ref.modules_autoload.example]]
direct_toml = """
[settings.kernel.modules.ip_vs_lc]
allowed = true
autoload = true
"""
direct_shell = """
apiclient set settings.kernel.modules.ip_vs_lc.allowed=true settings.kernel.modules.ip_vs_lc.autoload=true
"""

0 comments on commit 9417e1f

Please sign in to comment.