diff options
Diffstat (limited to 'wizard')
-rw-r--r-- | wizard/index.php | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/wizard/index.php b/wizard/index.php index 59fa1776..46918d8c 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -17,74 +17,64 @@ define('EPEL_DEV', 2); // 0 missing, 1 partially populated, 2 mostly full define('COUNTER', __DIR__ . "/counter.txt"); $osvers = [ + 'RHEL 10' => ['8.3'], 'RHEL 9' => ['8.0', '8.1', '8.2'], 'RHEL 8' => ['7.4', '8.0', '8.2'], -// 'RHEL 7' => '5.4', + 'CentOS 10' => ['8.3'], 'CentOS 9' => ['8.0', '8.1', '8.2'], -// 'CentOS 8' => ['7.4', '8.0', '8.2'], -// 'CentOS 7' => '5.4', 'EL 9' => ['8.0', '8.1', '8.2'], 'EL 8' => ['7.4', '8.0', '8.2'], -// 'EL 7' => '5.4', 'Fedora 41' => '8.3', 'Fedora 40' => '8.3', 'Fedora 39' => '8.2', ]; $osmin = [ + 'RHEL 10' => '7.4', 'RHEL 9' => '7.4', 'RHEL 8' => '5.6', -// 'RHEL 7' => '5.4', + 'CentOS 10' => '7.4', 'CentOS 9' => '7.4', -// 'CentOS 8' => '5.6', -// 'CentOS 7' => '5.4', 'EL 9' => '7.4', 'EL 8' => '5.6', -// 'EL 7' => '5.4', 'Fedora 41' => '7.4', 'Fedora 40' => '7.4', 'Fedora 39' => '7.4', ]; $osminbase = [ + 'RHEL 10' => '7.4', 'RHEL 9' => '7.4', 'RHEL 8' => '7.2', -// 'RHEL 7' => '5.4', + 'CentOS 10' => '7.4', 'CentOS 9' => '7.4', -// 'CentOS 8' => '7.2', -// 'CentOS 7' => '5.4', 'EL 9' => '7.4', 'EL 8' => '7.2', -// 'EL 7' => '5.4', 'Fedora 41' => '7.4', 'Fedora 40' => '7.4', 'Fedora 39' => '7.4', ]; $osmax = [ + 'RHEL 10' => '8.4', 'RHEL 9' => '8.4', 'RHEL 8' => '8.4', -// 'RHEL 7' => '8.3', + 'CentOS 10' => '8.4', 'CentOS 9' => '8.4', -// 'CentOS 8' => '8.3', -// 'CentOS 7' => '8.3', 'EL 9' => '8.4', 'EL 8' => '8.4', -// 'EL 7' => '8.3', 'Fedora 41' => '8.4', 'Fedora 40' => '8.4', 'Fedora 39' => '8.4', ]; $osname = [ ':rhel' => 'Red Hat Enterprise Linux', + 'RHEL 10' => 'RHEL 10.0-Beta (Development version)', 'RHEL 9' => 'RHEL 9.4', // (maintained until May 31, 2032) 'RHEL 8' => 'RHEL 8.9', // (maintained until May 31, 2029) -// 'RHEL 7' => 'RHEL 7.9 (maintained until June 30, 2024)', - ':centos' => 'CentOS Stream, CentOS Linux', + ':centos' => 'CentOS Stream', + 'CentOS 10' => 'CentOS Stream 10', 'CentOS 9' => 'CentOS Stream 9', // (maintained until May 31, 2027) -// 'CentOS 8' => 'CentOS Stream 8 (maintained until May 31, 2024)', -// 'CentOS 7' => 'CentOS 7 (maintained until June 30, 2024)', ':clone' => 'Alma Linux, Rocky Linux and other clones', 'EL 9' => 'EL 9', 'EL 8' => 'EL 8', -// 'EL 7' => 'EL 7 (maintained until June 30, 2024)', ':fedora' => 'Fedora Linux', 'Fedora 41' => 'Fedora 41', 'Fedora 40' => 'Fedora 40', @@ -299,11 +289,16 @@ if ($php && $os && $type && !$err) { switch ($os) { case 'RHEL 8': case 'RHEL 9': + case 'RHEL 10': printf("<li>Command to enabled the <b>CRB</b> repository:"); printf("<pre> subscription-manager repos --enable codeready-builder-for-rhel-%d-%s-rpms</pre></li><br />", $ver, $arch); break; case 'CentOS 8': case 'CentOS 9': + case 'CentOS 10': + case 'EL 8': + case 'EL 9': + case 'EL 10': printf("<li>Command to enabled the <b>CRB</b> repository:"); printf("<pre> dnf config-manager --set-enabled %s</pre></li><br />", $ver < 9 ? 'powertools' : 'crb'); break; |