Skip to content
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

Making sushy emulator ignore boot device optional #272

Closed
wants to merge 12 commits into from
1 change: 1 addition & 0 deletions roles/setup_sushy_tools/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ secure_sushy_tools: "{{ secure | default(true) }}"
sushy_fqdn: "{{ ansible_fqdn }}"

is_on_rhel9: "{{ (ansible_distribution_major_version == '9' and ansible_distribution == 'RedHat') | bool }}"
sushy_ignore_boot_device: true
2 changes: 1 addition & 1 deletion roles/setup_sushy_tools/templates/sushy-emulator.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ SUSHY_EMULATOR_LIBVIRT_URI = u'qemu:///system'
# Instruct the libvirt driver to ignore any instructions to
# set the boot device. Allowing the UEFI firmware to instead
# rely on the EFI Boot Manager
SUSHY_EMULATOR_IGNORE_BOOT_DEVICE = True
SUSHY_EMULATOR_IGNORE_BOOT_DEVICE = {{ (sushy_ignore_boot_device | bool) | ternary("True", "False") }}

# The map of firmware loaders dependant on the boot mode and
# system architecture
Expand Down
Loading