Additional code change for bug 2824599 lsslp should add more attribute in DB for FSP/HMC

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhanx 2009-07-27 19:35:44 +00:00
parent 6bec9dd95a
commit 4bbc896185
2 changed files with 2 additions and 3 deletions

View File

@ -174,10 +174,9 @@ sub updategroups {
sub add_ppchcp {
my $hwtype = shift;
my $data = shift;
my $name = shift;
my @tabs = qw(ppchcp nodehm nodelist nodetype);
my %db = ();
my $name = @$data[4];
###################################
# Open database needed

View File

@ -1550,7 +1550,7 @@ sub xCATdB {
xCAT::PPCdb::add_ppc( lc($type), [$values] );
}
elsif ( $type =~ /^(HMC|IVM)$/ ) {
xCAT::PPCdb::add_ppchcp( lc($type), $data );
xCAT::PPCdb::add_ppchcp( lc($type), $name );
}
elsif ( $type =~ /^FSP$/ ) {
########################################