mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-24 23:15:30 +00:00
Don't support Power4 HMCs (Regatta and under) - Line #682
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -676,6 +676,14 @@ sub lshmc {
|
||||
my @values;
|
||||
my $vpd = join( ",", @$result );
|
||||
|
||||
#####################################
|
||||
# Power4 (and below) HMCs unsupported
|
||||
#####################################
|
||||
if ( $vpd =~ /\*RM V(\d+)/ ) {
|
||||
if ( $1 <= 5 ) {
|
||||
return( [RC_ERROR,"Command not supported on V$1 HMC"] );
|
||||
}
|
||||
}
|
||||
#####################################
|
||||
# Type-Model may be in the formats:
|
||||
# "eserver xSeries 336 -[7310CR3]-"
|
||||
|
Reference in New Issue
Block a user