From: Achim Dreyer <ml11045@adreyer.com>
To: pve-devel@lists.proxmox.com
Cc: Achim Dreyer <ml11045@adreyer.com>
Subject: [pve-devel] SPAM: [PATCH v2 container 1/1] Fix numbering scheme detection for CentOS Stream releases.
Date: Sat, 17 Oct 2020 14:45:56 +0100 [thread overview]
Message-ID: <20201017134556.2871759-2-ml11045@adreyer.com> (raw)
In-Reply-To: <20201017134556.2871759-1-ml11045@adreyer.com>
Signed-off-by: Achim Dreyer <ml11045@adreyer.com>
---
src/PVE/LXC/Setup/CentOS.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Setup/CentOS.pm b/src/PVE/LXC/Setup/CentOS.pm
index 0825273..77eb6f7 100644
--- a/src/PVE/LXC/Setup/CentOS.pm
+++ b/src/PVE/LXC/Setup/CentOS.pm
@@ -19,7 +19,7 @@ sub new {
my $version;
- if ($release =~ m/release\s+(\d+\.\d+)(\.\d+)?/) {
+ if (($release =~ m/release\s+(\d+\.\d+)(\.\d+)?/) || ($release =~ m/release\s+(\d+)/)) {
if ($1 >= 5 && $1 <= 9) {
$version = $1;
}
--
2.28.0
next prev parent reply other threads:[~2020-10-17 13:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-17 13:45 [pve-devel] SPAM: [PATCH v2 container 0/1] " Achim Dreyer
2020-10-17 13:45 ` Achim Dreyer [this message]
2020-10-19 12:25 ` [pve-devel] SPAM: [PATCH v2 container 1/1] " Thomas Lamprecht
2020-10-19 19:06 ` Achim Dreyer (proxmox)
2020-10-23 19:10 ` [pve-devel] applied: SPAM: [PATCH v2 container 0/1] " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201017134556.2871759-2-ml11045@adreyer.com \
--to=ml11045@adreyer.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox