Description of problem:
If the user changes the bootMode between inspection and deployment, the new value is not used.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a host with a boot mode
2. wait for inspection to complete
3. change the boot mode
4. deploy an image to the host
the host may fail to boot if the mode is incorrect
the most recent user input for boot mode is used for provisioning
https://github.com/metal3-io/baremetal-operator/pull/612 is the upstream fix
https://github.com/openshift/baremetal-operator/pull/95 brings the fix downstream.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.