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:
parent
940e189145
commit
becc0312cc
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user