From 1f63d84caa6a16acbce21db67a9d26f59a7763e9 Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 7 Jul 2011 06:31:44 +0000 Subject: [PATCH] change the nodetype to ppc for lpar and hmc, change the hwtype to lpar and hmc to lpar and hmc. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/csm2xcat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/tools/csm2xcat b/xCAT-server/share/xcat/tools/csm2xcat index 15c0231a4..b6782b629 100755 --- a/xCAT-server/share/xcat/tools/csm2xcat +++ b/xCAT-server/share/xcat/tools/csm2xcat @@ -347,7 +347,8 @@ sub getNodeinfo if ($value) { # this is an LPAR $xcatline = " id=$value\n"; - $xcatline .= " nodetype=lpar\n"; + $xcatline .= " hwtype=lpar\n"; + $xcatline .= " nodetype=ppc\n"; } } } @@ -523,9 +524,10 @@ sub getDevinfo if ($value) { my $lcvalue = lc($value); - $xcatline = " nodetype=$lcvalue\n"; + $xcatline = " nodetype=ppc\n"; if ($lcvalue eq "hmc") { $xcatline .= " mgt=$lcvalue\n"; + $xcatline .= " hwtype=$lcvalue\n"; } } }