You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
634 B

--- virt-manager-2.2.1/virtinst/install/urldetect.py 2020-06-06 13:58:57.115228664 +0200
+++ virt-manager-2.2.1/virtinst/install/urldetect.py 2020-06-06 14:01:41.629287983 +0200
@@ -466,6 +466,17 @@
return cache.treeinfo_family_regex(famregex)
+class _PowerELDistro(_RHELDistro):
+ PRETTY_NAME = "PowerEL"
+ matching_distros = ["powerel"]
+ _variant_prefix = "powerel"
+
+ @classmethod
+ def is_valid(cls, cache):
+ famregex = ".*(PowerEL|PowerEL7|PowerEL 7).*"
+ return cache.treeinfo_family_regex(famregex)
+
+
class _SuseDistro(_RHELDistro):
PRETTY_NAME = None
_suse_regex = []