From ac579517a70bb0e1dd3387644b16d7a9315d3e5b Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 12 May 2009 19:12:01 +0000 Subject: [PATCH] if DEVICETYPE=hmc, mgt=hmc git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/csm2xcat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/share/xcat/tools/csm2xcat b/xCAT-server/share/xcat/tools/csm2xcat index d5ae8f77d..6a6d787d9 100755 --- a/xCAT-server/share/xcat/tools/csm2xcat +++ b/xCAT-server/share/xcat/tools/csm2xcat @@ -513,6 +513,9 @@ sub getDevinfo { my $lcvalue = lc($value); $xcatline = " nodetype=$lcvalue\n"; + if ($lcvalue eq "hmc") { + $xcatline .= " mgt=$lcvalue\n"; + } } } if ($attr eq "HWType") # put Model and type together