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:
parent
ca16651440
commit
28a917b25c
@ -2064,6 +2064,8 @@ sub copycd
|
||||
{
|
||||
$distname = $xCAT::data::discinfo::distnames{$did};
|
||||
}
|
||||
} elsif ($desc and $desc =~ /CentOS Linux (.*)/) {
|
||||
$distname = "centos" . $1;
|
||||
}
|
||||
|
||||
unless ($dno) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user