Skip to content

Commit

Permalink
Enable 'redfish-https' as a vm_driver_tmp
Browse files Browse the repository at this point in the history
Enable driver to boot VM's with 'BootSourceOverrideTarget': 'UefiHttp'

Signed-off-by: Derek Higgins <[email protected]>
  • Loading branch information
derekhiggins committed Sep 19, 2024
1 parent 5a96750 commit 0154da5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

#
# Set the driver. The default value is 'mixed' (alternate nodes between ipmi
# and redfish). Can also be set explicitly to ipmi/redfish/redfish-virtualmedia.
# and redfish). Can also be set explicitly to ipmi/redfish/redfish-virtualmedia/redfish-uefihttp.
#
#export BMC_DRIVER="mixed"

Expand Down
2 changes: 1 addition & 1 deletion vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ assured that they are persisted.
| TEST_TIME_INTERVAL | Interval between retries after verification or test failure (seconds) | | 10 |
| TEST_MAX_TIME | Number of maximum verification or test retries | | 120 |
| BMO_ROLLOUT_WAIT | Number of minutes(Until max 10m that is the default value of deployment.spec.progressDeadlineSeconds) to wait for BMO rollout | | 5 |
| BMC_DRIVER | Set the BMC driver | "ipmi", "redfish", "redfish-virtualmedia" | "mixed" |
| BMC_DRIVER | Set the BMC driver | "ipmi", "redfish", "redfish-virtualmedia", "redfish-uefihttp" | "mixed" |
| BMORELEASEBRANCH | BMO Release branch | "main", "release-0.5", "release-0.6", "release-0.8" | Set via jjb for CI, for local dev it gets default value based on CAPM3 branch |
| BOOT_MODE | Set libvirt firmware and BMH bootMode | "legacy", "UEFI", "UEFISecureBoot" | "legacy" |
| IMAGE_OS | OS of the image to boot the nodes from, overriden by IMAGE\_\* if set | "centos", "cirros", "FCOS", "ubuntu", "flatcar" | "centos" |
Expand Down
3 changes: 3 additions & 0 deletions vm-setup/roles/libvirt/templates/ironic_nodes.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
{% elif vm_driver_tmp == 'redfish-virtualmedia' -%}
"port": "8000",
"address": "{{vm_driver_tmp}}+http://{{ lvars['host_ip'] | ipwrap }}:8000/redfish/v1/Systems/{{vm_id[node.name]}}",
{% elif vm_driver_tmp == 'redfish-uefihttp' -%}
"port": "8000",
"address": "{{vm_driver_tmp}}+http://{{ lvars['host_ip'] | ipwrap }}:8000/redfish/v1/Systems/{{vm_id[node.name]}}",
{% else -%}
"port": "{{ node.virtualbmc_port }}",
"address": "{{vm_driver_tmp}}://{{lvars['host_ip'] | ipwrap }}:{{node.virtualbmc_port}}",
Expand Down

0 comments on commit 0154da5

Please sign in to comment.