Updated script to match RHEL5.4

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2009-11-10 05:18:29 +00:00
parent 4c77f42d1b
commit f54ddf96fa

View File

@ -1320,7 +1320,7 @@ sub HCACheckLinux()
#Check state
if ($line =~ /\S*:\s*state:\s*(\w+)\s*\(.*/ && $ignore == 0)
{
if ($1 ne "PORT_ACTIVE")
if ($1 ne "PORT_ACTIVE" && $1 ne "active")
{
$abnormal = 1;
print "$host: ib$if_id state is $1. UNEXPECTED STATE.\n";