2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

Merge pull request #7029 from gurevichmark/centos-stream

Support CentOS8 Stream
This commit is contained in:
besawn 2021-09-17 16:43:01 -04:00 committed by GitHub
commit e1dc9e33c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 17 additions and 0 deletions

View File

@ -2066,6 +2066,8 @@ sub copycd
}
} elsif ($desc and $desc =~ /CentOS Linux (.*)/) {
$distname = "centos" . $1;
} elsif ($desc and $desc =~ /CentOS Stream (.*)/) {
$distname = "centos-stream" . $1;
} elsif ($desc and $desc =~ /Rocky Linux (.*)/) {
$distname = "rocky" . $1;
}

View File

@ -0,0 +1 @@
compute.centos8.pkglist

View File

@ -0,0 +1 @@
compute.centos8.tmpl

View File

@ -0,0 +1 @@
../rh/service.rhels8.pkglist

View File

@ -0,0 +1 @@
../rh/service.rhels8.ppc64le.otherpkgs.pkglist

View File

@ -0,0 +1 @@
compute.centos-stream8.tmpl

View File

@ -0,0 +1 @@
../rh/service.rhels8.x86_64.otherpkgs.pkglist

View File

@ -0,0 +1 @@
../rh/compute.rhels8.ppc64le.exlist

View File

@ -0,0 +1 @@
../rh/compute.rhels8.ppc64le.pkglist

View File

@ -0,0 +1 @@
../rh/compute.rhels8.ppc64le.postinstall

View File

@ -0,0 +1 @@
../rh/compute.rhels8.x86_64.exlist

View File

@ -0,0 +1 @@
../rh/compute.rhels8.x86_64.pkglist

View File

@ -0,0 +1 @@
../rh/compute.rhels8.x86_64.postinstall

View File

@ -443,6 +443,9 @@ fi
ln -sf $RPM_INSTALL_PREFIX0/sbin/xcatd /usr/sbin/xcatd
ln -sf $RPM_INSTALL_PREFIX0/share/xcat/install/sles $RPM_INSTALL_PREFIX0/share/xcat/install/sle
ln -sf $RPM_INSTALL_PREFIX0/share/xcat/netboot/sles $RPM_INSTALL_PREFIX0/share/xcat/netboot/sle
ln -sf $RPM_INSTALL_PREFIX0/share/xcat/install/centos $RPM_INSTALL_PREFIX0/share/xcat/install/centos-stream
ln -sf $RPM_INSTALL_PREFIX0/share/xcat/netboot/centos $RPM_INSTALL_PREFIX0/share/xcat/netboot/centos-stream
if [ "$1" = "1" ]; then #Only if installing for the first time..
if [ -x /usr/lib/systemd/systemd ]; then
/usr/bin/systemctl daemon-reload