From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B518461662 for ; Tue, 13 Oct 2020 19:17:02 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A2DBF11589 for ; Tue, 13 Oct 2020 19:16:32 +0200 (CEST) Received: from server2.johndoe666.info (server2.johndoe666.info [95.85.50.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 7415411579 for ; Tue, 13 Oct 2020 19:16:31 +0200 (CEST) Received: by server2.johndoe666.info (Postfix, from userid 109) id E26B240017; Tue, 13 Oct 2020 17:09:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on server2.johndoe666.info X-Spam-Status: No, score=-102.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=unavailable autolearn_force=no version=3.4.5-pre1 X-Spam-AuthCookie: johndoe666.info:05e947ec98ed30fed23b5b5e38dcfd86d0e30c5e Received: from mailsrv.office.adreyer.com (mailsrv [192.0.2.246]) by server2.johndoe666.info (Postfix) with ESMTP id 79A1040017; Tue, 13 Oct 2020 17:09:44 +0000 (UTC) Authentication-Results: mail.johndoe666.info; dmarc=none (p=none dis=none) header.from=adreyer.com Received: from vostro.office.adreyer.com (vostro.office.adreyer.com [192.168.1.15]) by mailsrv.office.adreyer.com (Postfix) with ESMTP id 229471FE3F; Tue, 13 Oct 2020 17:09:44 +0000 (UTC) Received: by vostro.office.adreyer.com (Postfix, from userid 1000) id 1B1541C605EE; Tue, 13 Oct 2020 18:09:44 +0100 (BST) From: Achim Dreyer To: pve-devel@lists.proxmox.com Cc: Achim Dreyer Date: Tue, 13 Oct 2020 18:08:58 +0100 Message-Id: <20201013170858.1458272-2-ml11045@adreyer.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201013170858.1458272-1-ml11045@adreyer.com> References: <20201013170858.1458272-1-ml11045@adreyer.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 3 AWL 1.250 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RCVD_ILLEGAL_IP 1.3 Received: contains illegal IP address SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_NONE 0.001 SPF: sender does not publish an SPF Record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [centos.pm] X-Mailman-Approved-At: Wed, 14 Oct 2020 08:37:15 +0200 Subject: [pve-devel] SPAM: [PATCH container 1/1] Fix numbering scheme detection for CentOS Stream releases. X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2020 17:17:02 -0000 Signed-off-by: Achim Dreyer --- 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..aab0488 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+)?/) { if ($1 >= 5 && $1 <= 9) { $version = $1; } -- 2.28.0