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:
commit
e1dc9e33c6
@ -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;
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
compute.centos8.pkglist
|
@ -0,0 +1 @@
|
||||
compute.centos8.tmpl
|
@ -0,0 +1 @@
|
||||
../rh/service.rhels8.pkglist
|
@ -0,0 +1 @@
|
||||
../rh/service.rhels8.ppc64le.otherpkgs.pkglist
|
@ -0,0 +1 @@
|
||||
compute.centos-stream8.tmpl
|
@ -0,0 +1 @@
|
||||
../rh/service.rhels8.x86_64.otherpkgs.pkglist
|
@ -0,0 +1 @@
|
||||
../rh/compute.rhels8.ppc64le.exlist
|
@ -0,0 +1 @@
|
||||
../rh/compute.rhels8.ppc64le.pkglist
|
@ -0,0 +1 @@
|
||||
../rh/compute.rhels8.ppc64le.postinstall
|
@ -0,0 +1 @@
|
||||
../rh/compute.rhels8.x86_64.exlist
|
@ -0,0 +1 @@
|
||||
../rh/compute.rhels8.x86_64.pkglist
|
@ -0,0 +1 @@
|
||||
../rh/compute.rhels8.x86_64.postinstall
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user