30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 3d065682913bbfad761cc8bd87da687597b2ed13 Mon Sep 17 00:00:00 2001
|
|
From: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
|
|
Date: Mon, 18 Oct 2021 05:46:33 +0400
|
|
Subject: [PATCH] installertreemedia: Support for AlmaLinux OS 8
|
|
|
|
AlmaLinux OS 8 has kernel argument in its Osinfo database of
|
|
information. Considering kernel arguments are hardcoded instead of using
|
|
the libosinfo's kernel-url-argument API, which queries the Osinfo
|
|
database, this adds the required kernel argument to boot OS
|
|
successfully.
|
|
|
|
Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
|
|
---
|
|
virtinst/osdict.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/virtinst/osdict.py b/virtinst/osdict.py
|
|
index 1273b934b..e930275fa 100644
|
|
--- a/virtinst/osdict.py
|
|
+++ b/virtinst/osdict.py
|
|
@@ -597,7 +597,7 @@ def get_kernel_url_arg(self):
|
|
if self.distro in ["caasp", "sle", "sled", "sles", "opensuse"]:
|
|
return "install"
|
|
|
|
- if self.distro not in ["centos", "rhel", "fedora"]:
|
|
+ if self.distro not in ["centos", "rhel", "fedora", "almalinux"]:
|
|
return None
|
|
|
|
# Red Hat distros
|