From c8899e694a8c26b2e6d0ea72f377897ef629d23e Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 16 Oct 2013 02:31:38 -0700 Subject: [PATCH] fix bug 3834: 'lsslp -s CMM -w' write different id for cmm01 with 'rscan cmm01 -u' --- xCAT-server/lib/xcat/plugins/lsslp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index f2b4a6dd2..a6b3db461 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -1450,10 +1450,10 @@ sub xCATdB { $machash{$hostname} = {mac=>$mac}; }elsif ($type =~ /^cmm$/){ $nodelisthash{$hostname} = {groups=>$groups, hidden=>$hidden}; - $vpdhash{$hostname} = {mtm=>$model, serial=>$serial}; + $vpdhash{$hostname} = {mtm=>$model, serial=>$serial, side=>$side}; $nodetypehash{$hostname} = {nodetype=>$globalnodetype{$type}}; $nodehmhash{$hostname} = {mgt=>"blade"}; - $mphash{$hostname} = {nodetype=>$globalhwtype{$type}, mpa=>$hostname, id=>$side}; + $mphash{$hostname} = {nodetype=>$globalhwtype{$type}, mpa=>$hostname}; $hostshash{$hostname} = {otherinterfaces=>$otherif}; } }