virtbuilder_pel7ppc64lebuilder0
5 years ago
2 changed files with 25 additions and 2 deletions
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
--- 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 = [] |
Loading…
Reference in new issue