[virt-tools-list] [PATCH virt-manager] urlfetcher: Recognize RHEL Atomic Host ISOs
Cole Robinson
crobinso at redhat.com
Mon Oct 5 19:13:42 UTC 2015
On 10/05/2015 03:49 AM, Giuseppe Scrivano wrote:
> Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
> ---
> virtinst/urlfetcher.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
> index ed062fe..e4a85f0 100644
> --- a/virtinst/urlfetcher.py
> +++ b/virtinst/urlfetcher.py
> @@ -818,7 +818,7 @@ class RHELDistro(RedHatDistro):
>
> def isValidStore(self):
> if self.treeinfo:
> - m = re.match(".*Red Hat Enterprise Linux.*",
> + m = re.match(".*(Red Hat Enterprise Linux|RHEL).*",
> self.treeinfo.get("general", "family"))
> ret = (m is not None)
>
>
ACK, can you push with an extra comment like
# Matches:
# Red Hat Enterprise Linux
# RHEL Atomic Host
Thanks,
Cole
More information about the virt-tools-list
mailing list