2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #6477 from jjohnson42/centos8copycds

Port Generic CentOS check from Lenovo tree
This commit is contained in:
cxhong 2019-11-08 11:39:07 -05:00 committed by GitHub
commit f57e017d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2064,6 +2064,8 @@ sub copycd
{
$distname = $xCAT::data::discinfo::distnames{$did};
}
} elsif ($desc and $desc =~ /CentOS Linux (.*)/) {
$distname = "centos" . $1;
}
unless ($dno) {