Skip to content

Commit

Permalink
Only keep grub timeout for SELINUX tests for sle<16
Browse files Browse the repository at this point in the history
The relabelling mechanism in the selinux-autorelabel
package will be fixed to not reboot, thus not needing
the grub timeout to boot for the tests to work.

see:
openSUSE/microos-tools#33
  • Loading branch information
ca-hu committed Sep 30, 2024
1 parent 7dbced9 commit 252bdbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main_common.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ sub load_inst_tests {
loadtest "installation/installation_overview";
# On Xen PV we don't have GRUB on VNC
# SELinux relabel reboots, so grub needs to timeout
set_var('KEEP_GRUB_TIMEOUT', 1) if check_var('VIRSH_VMM_TYPE', 'linux') || get_var('SELINUX');
set_var('KEEP_GRUB_TIMEOUT', 1) if check_var('VIRSH_VMM_TYPE', 'linux') || (get_var('SELINUX') && is_sle('<16'));
loadtest "installation/disable_grub_timeout" unless get_var('KEEP_GRUB_TIMEOUT');
if (check_var('VIDEOMODE', 'text') && is_ipmi) {
loadtest "installation/disable_grub_graphics";
Expand Down

0 comments on commit 252bdbb

Please sign in to comment.