-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add -boot-mode argument to make-bm-worker #605
add -boot-mode argument to make-bm-worker #605
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhellmann The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/test-integration |
This failed because the boot mode is not specified in the command line :
Should it default to legacy ? |
metal3-dev-env uses this program to create host resources. In order to let metal3-dev-env change the boot mode for hosts, we need to add an option to pass the value through to the template. Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
be08660
to
9ab1317
Compare
I assumed the variable would be nil if not specified on the command line. I've fixed the test. We want the default to be empty here, to allow the baremetal-operator to control the default. The plan there is to use UEFI as the default, which is why metal3-io/metal3-dev-env#395 sets the value to legacy explicitly so our CI will work. |
/test-integration |
/lgtm |
metal3-dev-env uses this program to create host resources. In order to
let metal3-dev-env change the boot mode for hosts, we need to add an
option to pass the value through to the template.