modified some special nodes' name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d220152db1
commit
7482910243
@ -113,7 +113,7 @@ sub enumerate {
|
||||
push @values, $data;
|
||||
next;
|
||||
}
|
||||
if($data !~ "Connected") {
|
||||
if($data !~ "Connected" && $data !~ "LINE UP" ) {
|
||||
$data = "please check if the $node_name is coneected to the hardware server";
|
||||
#push @output, [$node_name,$data,$Rc];
|
||||
push @values, $data;
|
||||
@ -160,13 +160,13 @@ sub enumerate {
|
||||
foreach my $lpar (@list) {
|
||||
$lpar =~ /lparname:\s+(\w+),\s+lparid:\s+(\d+),\s+state:/;
|
||||
my $name = $1;
|
||||
$name =~ s/\-//g;
|
||||
$name =~ tr/A-Z/a-z/;
|
||||
my $lparid = $2;
|
||||
my $prof = $1;
|
||||
my $server = $fsp;
|
||||
my $ips = "";
|
||||
my $port = "";
|
||||
$name =~ s/\-//g;
|
||||
$name =~ tr/A-Z/a-z/;
|
||||
|
||||
#####################################
|
||||
# Save LPAR information
|
||||
|
@ -193,7 +193,7 @@ sub mkvm_parse_args {
|
||||
|
||||
}
|
||||
|
||||
$opt{target} = @{$request->{node}};
|
||||
$opt{target} = $request->{node};
|
||||
|
||||
####################################
|
||||
# No operands - add command name
|
||||
@ -1389,7 +1389,7 @@ sub create {
|
||||
my $profile;
|
||||
my $starting_lpar_id = $opt->{i};
|
||||
my $octant_conf_value = $opt->{o};
|
||||
my $node_number =$opt->{target};
|
||||
my $node_number =@{$opt->{target}};
|
||||
#####################################
|
||||
# Get source node information
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user