Skip to content

Commit

Permalink
Default the module line to /bin/false in describe_module_disable
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcanonical committed Jul 16, 2024
1 parent 67ec64c commit 7b7cf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/macros/01-general.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Describe allowing access to a service in firewalld.
{{%- macro describe_module_disable(module) %}}
To configure the system to prevent the <code>{{{ module }}}</code>
kernel module from being loaded, add the following line to the file <code>/etc/modprobe.d/{{{ module }}}.conf</code>:
<pre>install {{{ module }}} /bin/true</pre>
<pre>install {{{ module }}} /bin/false</pre>
{{% if "ol" in product or product in ["rhel8"] %}}
To configure the system to prevent the <code>{{{ module }}}</code> from being used,
add the following line to file <code>/etc/modprobe.d/{{{ module }}}.conf</code>:
Expand Down

0 comments on commit 7b7cf2a

Please sign in to comment.