The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/269
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 4b8fc05fe1c5eaf6dee3604bf7698cf053ae4f79 Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Thu, 16 Jan 2020 14:49:58 +0100 Subject: [PATCH] sources/centos: Fix filename regexes Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- sources/centos-http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/centos-http.go b/sources/centos-http.go index 0e7cab9..d23bf1c 100644 --- a/sources/centos-http.go +++ b/sources/centos-http.go @@ -403,9 +403,9 @@ func (s CentOSHTTP) getRelease(URL, release, variant, arch string) string { re = append(re, fmt.Sprintf("CentOS-Userland-%s-armv7hl-RootFS-(?i:%s)(-\\d+)?-sda.raw.xz", releaseFields[0], variant)) } else { - re = append(re, fmt.Sprintf("CentOS-%s(.\\d+)?-%s-(?i:%s)(-\\d+)?.iso", + re = append(re, fmt.Sprintf("CentOS-%s(.\\d+)*-%s-(?i:%s)(-\\d+)?.iso", releaseFields[0], arch, variant)) - re = append(re, fmt.Sprintf("CentOS-%s(.\\d+)?-%s(-\\d+)?-(?i:%s).iso", + re = append(re, fmt.Sprintf("CentOS-%s(.\\d+)*-%s(-\\d+)?-(?i:%s).iso", releaseFields[0], arch, variant)) } }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel