mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-04 17:47:19 +03:00
urlfetcher: Recognize RHEL Atomic Host ISOs
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1268001 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
d7e678cb28
commit
c0a27bb9b4
@ -818,7 +818,10 @@ class RHELDistro(RedHatDistro):
|
||||
|
||||
def isValidStore(self):
|
||||
if self.treeinfo:
|
||||
m = re.match(".*Red Hat Enterprise Linux.*",
|
||||
# Matches:
|
||||
# Red Hat Enterprise Linux
|
||||
# RHEL Atomic Host
|
||||
m = re.match(".*(Red Hat Enterprise Linux|RHEL).*",
|
||||
self.treeinfo.get("general", "family"))
|
||||
ret = (m is not None)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user