Skip to content

Commit 078a0e8

Browse files
bogdandoevallesp
authored andcommitted
Fix nova04delta cifmw_baremetal_hosts defaults
Signed-off-by: Bohdan Dobrelia <[email protected]>
1 parent b31e115 commit 078a0e8

File tree

1 file changed

+2
-0
lines changed
  • roles/ci_gen_kustomize_values/templates/nova04delta/edpm-nodeset-values

1 file changed

+2
-0
lines changed

roles/ci_gen_kustomize_values/templates/nova04delta/edpm-nodeset-values/values.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ data:
5454
{% endfor %}
5555
{% endif %}
5656

57+
{% if cifmw_baremetal_hosts | default({}) | length > 0 %}
5758
# source roles/deploy_bmh/template/bmh.yml.j2, but it patches kustomize built outputs
5859
baremetalhosts:
5960
{% for host, def in cifmw_baremetal_hosts.items() if 'compute' in host %}
@@ -85,6 +86,7 @@ data:
8586
preprovisioningNetworkDataName: {{ _host }}-nmstate-secret
8687
{% endif %}
8788
{% endfor %}
89+
{% endif %}
8890

8991
{% if 'compute' in _vm_type %}
9092
nova:

0 commit comments

Comments
 (0)