2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Merge pull request #7041 from gurevichmark/fedora_provision

Support Fedora34 diskful install
This commit is contained in:
besawn 2021-09-30 13:05:27 -04:00 committed by GitHub
commit 4d269bb6c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

View File

@ -2134,6 +2134,15 @@ sub copycd
my @ol_version = split /[- ]/, $desc;
$distname = "ol" . $ol_version[1];
}
elsif ($desc =~ /Fedora/)
{
# Attempt to auto-detect for Fedora OS, the first element
# (after " ") has typically been the version
# ex: Fedora 34
#
my @fedora_version = split /[- ]/, $desc;
$distname = "fedora" . $fedora_version[1];
}
elsif ($desc =~ /^[\d\.]+$/)
{
open($dinfo, $mntpath . "/.treeinfo");

View File

@ -0,0 +1,10 @@
#Please make sure there is a space between @ and group name
wget
vim-minimal
nfs-utils
rsync
net-tools
openssh-server
util-linux-ng
rsyslog
openssl

View File

@ -0,0 +1 @@
../rh/compute.rhels8.tmpl