modify the output of 'rpower blade state'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b7d1caeef7
commit
1c996c4c7a
@ -63,9 +63,7 @@ sub enumerate {
|
||||
##############################
|
||||
if ( $type =~ /^(fsp|bpa|cec|frame|blade)$/ ) {
|
||||
if ($type eq 'blade') {
|
||||
if ($state =~ /power-on-transition|power off/) {
|
||||
$state = "off";
|
||||
} else {
|
||||
if ($state =~ /standby|operating/) {
|
||||
$state = "on";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user