Skip to content

Commit

Permalink
install-config.j2: support disableCertificateVerification for irmc
Browse files Browse the repository at this point in the history
Signed-off-by: Zhou Hao <[email protected]>
  • Loading branch information
zhouhao3 committed Sep 8, 2023
1 parent bcd2038 commit 43f22f3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ platform:
disableCertificateVerification: {{ disable_bmc_certificate_verification }}
{% elif hostvars[host]['irmc_address'] is defined %}
address: irmc://{{ hostvars[host]['irmc_address']|ipwrap }}:{{ hostvars[host]['irmc_port']|default(443) }}
disableCertificateVerification: {{ disable_bmc_certificate_verification }}
{% else %}
address: ipmi://{{ hostvars[host]['ipmi_address']|ipwrap }}:{{ hostvars[host]['ipmi_port']|default(623) }}
{% endif %}
Expand Down Expand Up @@ -143,6 +144,7 @@ platform:
disableCertificateVerification: {{ disable_bmc_certificate_verification }}
{% elif hostvars[host]['irmc_address'] is defined %}
address: irmc://{{ hostvars[host]['irmc_address']|ipwrap }}:{{ hostvars[host]['irmc_port']|default(443) }}
disableCertificateVerification: {{ disable_bmc_certificate_verification }}
{% else %}
address: ipmi://{{ hostvars[host]['ipmi_address']|ipwrap }}:{{ hostvars[host]['ipmi_port']|default(623) }}
{% endif %}
Expand Down

0 comments on commit 43f22f3

Please sign in to comment.