2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Add support for parsing pkvm version from .discinfo when doing copycds

This commit is contained in:
Victor Hu 2016-03-07 13:47:57 -05:00
parent 940e189145
commit becc0312cc

View File

@ -2180,7 +2180,16 @@ sub copycd
unless ($distname)
{
return; #Do nothing, not ours..
if ($desc =~ /IBM_PowerKVM/)
{
# check for PowerKVM support
my @pkvm_version = split / /, $desc;
$distname = "pkvm" . $pkvm_version[1];
}
else
{
return; #Do nothing, not ours..
}
}
if ($darch)
{