base: try not using dot accessor notation here?

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod
2019-09-19 21:41:09 +00:00
committed by Pierre-Yves Chibon
parent cd22554d83
commit 3440a4ace6

View File

@@ -22,7 +22,7 @@ ONBOOT="yes"
{% endif %}
TYPE="Ethernet"
DEVICE="{{item}}"
{% for line in if_uuid.stdout_lines %}
{% for line in if_uuid['stdout_lines'] %}
{% if line.split()[0] == item %}
UUID="{{ line.split()[1] }}"
{% endif %}