diff --git a/xCAT-server-2.0/share/xcat/cons/hmc b/xCAT-server-2.0/share/xcat/cons/hmc index 8b18abf2d..5e09aede6 100644 --- a/xCAT-server-2.0/share/xcat/cons/hmc +++ b/xCAT-server-2.0/share/xcat/cons/hmc @@ -169,7 +169,7 @@ sub invoke_cmd { # Check for valid "type" ################################# my @types = split /,/, $ent->{nodetype}; - my ($type) = grep( /^lpar|osi$/, @types ); + my ($type) = grep( /^(lpar|osi)$/, @types ); if ( !defined( $type )) { return( "Invalid node type: $ent->{nodetype}" );