Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenShift: Fix deploying 2 SNOs (#781)
When we are deploying OpenShift of baremetal, for example with 3 master (control plane) nodes, kcli incorrectly deploys 2 nodes the {cluster}-sno.iso image and 1 with the {cluster}-ctlplane.iso image. This happens because we are doing an incorrect check on the index when iterating over the baremeta_hosts. This patch fixes this, so that only the first host uses the {cluster}-sno.iso image.
- Loading branch information