mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-24 15:05:36 +00:00
Use GlobalDef $::NODETYPE_XXX - Line #60
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -4,6 +4,7 @@ package xCAT::PPCdb;
|
||||
use strict;
|
||||
use Getopt::Long;
|
||||
use xCAT::Table;
|
||||
use xCAT::GlobalDef;
|
||||
|
||||
|
||||
##########################################################################
|
||||
@ -57,9 +58,9 @@ sub add_ppc {
|
||||
###########################
|
||||
my ($k1,$u1);
|
||||
my %nodetype = (
|
||||
fsp => "fsp",
|
||||
bpa => "bpa",
|
||||
lpar => "lpar,osi"
|
||||
fsp => $::NODETYPE_FSP,
|
||||
bpa => $::NODETYPE_BPA,
|
||||
lpar =>"$::NODETYPE_LPAR,$::NODETYPE_OSI"
|
||||
);
|
||||
$k1->{node} = $name;
|
||||
$u1->{groups} = lc($hwtype).",all";
|
||||
@ -275,3 +276,4 @@ sub credentials {
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user