Browse Source

Insert a new line before a section name

A minus at the end of a block prevents whitespace to be added.
In this particular case a new line between the last parameter in a section
and the next section is ommitted. The result looks like this:

[Section1]
Param1=Value
Param2=Value[Section2]
Param3=Value

Change-Id: I9faba3857f46f70ec0ddc380e6b84f72a5dc16e4
pull/128/head
Andrei Danin 7 years ago
parent
commit
05f8909844
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/files/systemd.conf

+ 1
- 1
linux/files/systemd.conf View File

@@ -1,5 +1,5 @@
{%- from "linux/map.jinja" import system with context -%}
{%- for section, options in settings.iteritems() -%}
{%- for section, options in settings.iteritems() %}
[{{ section }}]
{%- for option, value in options.iteritems() %}
{{ option }}={{ value }}

Loading…
Cancel
Save