From becc0312cc1729d7cce1455cb2c49cc4b4e3b466 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Mon, 7 Mar 2016 13:47:57 -0500 Subject: [PATCH] Add support for parsing pkvm version from .discinfo when doing copycds --- xCAT-server/lib/xcat/plugins/anaconda.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 900622d01..46aab4a99 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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) {