Browse Source

Fixing layout of modprobe.conf file with more than one option

pull/149/head
Michel Nederlof 6 years ago
parent
commit
82a2ebeda0
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