We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e86f5 commit 99318eeCopy full SHA for 99318ee
1 file changed
netjsonconfig/backends/raspbian/templates/commands.jinja2
@@ -1,11 +1,7 @@
1
-{% for i, j in data.items() %}
2
- {% if i|string() == 'general' %}
3
- {% for general in j %}
4
- {% if general.get('timezone') %}
5
- run commands:
6
- $ timedatectl set-timezone {{ general.get('timezone') }}
+{% for general in data.general %}
+ {% if general.get('timezone') %}
+ run commands:
+ $ timedatectl set-timezone {{ general.get('timezone') }}
7
8
- {% endif %}
9
- {% endfor %}
10
{% endif %}
11
{% endfor%}
0 commit comments