Skip to content

Commit 8753e32

Browse files
committed
fix multiple gres specs resulting in NodeName= lines missing newlines
1 parent ed7f422 commit 8753e32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/gres.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ AutoDetect={{ openhpc_gres_autodetect }}
66
{% for gres in nodegroup.gres | default([]) %}
77
{% set gres_name, gres_type, _ = gres.conf.split(':') %}
88
NodeName={{ hostlist_string }}{% if 'gres_autodetect' in nodegroup %} AutoDetect={{ nodegroup.gres_autodetect }}{% endif %} Name={{ gres_name }} Type={{ gres_type }}{% if 'file' in gres %} File={{ gres.file }}{% endif %}
9+
910
{% endfor %}{# gres #}
1011
{% endfor %}{# nodegroup #}

0 commit comments

Comments
 (0)