Commit 4f1d278
[reproducer] Pass libvirt layout to controller-0 for correct boot mode detection
When generate_bm_info.yml runs on controller-0, it needs access to
_cifmw_libvirt_manager_layout to determine the correct boot_mode based
on the VM's uefi configuration. Since configure_controller.yml uses
delegate_facts: false, the layout fact wasn't available on controller-0,
causing boot_mode to always default to 'legacy' even for UEFI VMs.
This fix explicitly passes the layout from the hypervisor's hostvars
to make it available for the delegated tasks, ensuring VMs with nvram
are correctly identified as UEFI boot mode in baremetal-info.yml.
Also fixes the regex in reproducer/tasks/generate_bm_info.yml to set the
_type var and match hostnames that are like:
cifmw-compute-wcl4866c-0
Assisted-By: Claude
Jira: OSPRH-22373
Signed-off-by: James Slagle <jslagle@redhat.com>1 parent 1f01109 commit 4f1d278
File tree
2 files changed
+5
-1
lines changed- roles/reproducer/tasks
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments