Browse Source

Merge pull request #149 from mnederlof/modprobe-template-fix

Fixing layout of modprobe.conf file with more than one option
pull/143/merge
Filip Pytloun 6 years ago
parent
commit
adbce9c8eb
No account linked to committer's email address
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      linux/files/modprobe.conf.jinja

+ 1
- 3
linux/files/modprobe.conf.jinja View File

@@ -2,8 +2,6 @@
blacklist {{ module_name }}
{%- else -%}

{%- for option, value in module_content.get('option', {}) | dictsort -%}
options {{ module_name }} {{ option }}={{ value }}
{%- endfor %}
options {{ module_name }}{% for option, value in module_content.get('option', {}) | dictsort %} {{ option }}={{ value }}{% endfor %}

{%- endif %}

Loading…
Cancel
Save