diff --git a/testcases/InstallUpstreamKernel.py b/testcases/InstallUpstreamKernel.py index d2d42d616..0a2b7543c 100644 --- a/testcases/InstallUpstreamKernel.py +++ b/testcases/InstallUpstreamKernel.py @@ -128,8 +128,7 @@ def is_url(path): time.sleep(10) if not self.use_kexec: # FIXME: Handle distributions which do not support grub - con.run_command( - "grub2-mkconfig --output=/boot/grub2/grub.cfg") + con.run_command("grubby --set-default /boot/vmlinuz-%s" % res[-1]) log.debug("Rebooting after kernel install...") self.console_thread.console_terminate() con.close()