Skip to content

Commit

Permalink
install-config.j2: support disableCertificateVerification for irmc (#983
Browse files Browse the repository at this point in the history
)

Signed-off-by: Zhou Hao <[email protected]>
  • Loading branch information
zhouhao3 authored Oct 27, 2023
1 parent 55aa682 commit 6efddca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ platform:
disableCertificateVerification: true
{% 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 @@ -149,6 +150,7 @@ platform:
disableCertificateVerification: true
{% 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 6efddca

Please sign in to comment.