mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-05 09:48:31 +00:00
Add CentOS disc detection in a more generic way
This commit is contained in:
@@ -2049,6 +2049,9 @@ sub copycd
|
||||
$darch = "x86";
|
||||
}
|
||||
close($dinfo);
|
||||
if ($desc and $desc =~ /CentOS Linux (.*)/) {
|
||||
$distname = "centos" . $1;
|
||||
}
|
||||
if ($xCAT::data::discinfo::distnames{$did})
|
||||
{
|
||||
unless ($distname)
|
||||
|
Reference in New Issue
Block a user