From 7b7cf2a0a346ec7ac763e64f9fc8b91f7ae29cf5 Mon Sep 17 00:00:00 2001 From: wqian Date: Tue, 16 Jul 2024 12:15:41 +0100 Subject: [PATCH] Default the module line to /bin/false in describe_module_disable --- shared/macros/01-general.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/macros/01-general.jinja b/shared/macros/01-general.jinja index 5c0d89b3f4c0..634474ce7957 100644 --- a/shared/macros/01-general.jinja +++ b/shared/macros/01-general.jinja @@ -350,7 +350,7 @@ Describe allowing access to a service in firewalld. {{%- macro describe_module_disable(module) %}} To configure the system to prevent the {{{ module }}} kernel module from being loaded, add the following line to the file /etc/modprobe.d/{{{ module }}}.conf: -
install {{{ module }}} /bin/true
+
install {{{ module }}} /bin/false
{{% if "ol" in product or product in ["rhel8"] %}} To configure the system to prevent the {{{ module }}} from being used, add the following line to file /etc/modprobe.d/{{{ module }}}.conf: