Fixed problem with rpower for CEC commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -621,9 +621,9 @@ sub lpar_netboot { | ||||
|         $cmd.= " -i"; | ||||
|     } else { | ||||
|         ################################# | ||||
| 	# Determine if LPAR and mgmt node | ||||
| 	# are AIX or not. | ||||
| 	################################ | ||||
|  # Determine if LPAR and mgmt node | ||||
|  # are AIX or not. | ||||
|  ################################ | ||||
|         my $table = "nodetype"; | ||||
|         my @TableRowArray = xCAT::DBobjUtils->getDBtable($table); | ||||
|         if (defined(@TableRowArray)) | ||||
| @@ -988,7 +988,7 @@ sub power_cmd { | ||||
|  | ||||
|     my $op   = shift;   | ||||
|     my $d    = shift; | ||||
|     my $type = @$d[4]; | ||||
|     my $type = (@$d[4] eq "fsp") ? "sys" : @$d[4]; | ||||
|  | ||||
|     ############################## | ||||
|     # Build command  | ||||
| @@ -1077,3 +1077,4 @@ sub network_reset { | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user