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

Port Generic CentOS check from Lenovo tree

This will do a more generic check if a discid is not found.
This commit is contained in:
Jarrod Johnson 2019-11-08 08:25:32 -05:00
parent ca16651440
commit 28a917b25c

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) {