From 8453bc07d7908aee0715c246b539c92572ba4910 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 7 May 2012 09:14:50 +0000 Subject: [PATCH] fix bug 3524241: some dfm commnds failed when noderange is lpar git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPUtils.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-xCAT/xCAT/FSPUtils.pm b/perl-xCAT/xCAT/FSPUtils.pm index 36ccb9e3a..fd7936e40 100644 --- a/perl-xCAT/xCAT/FSPUtils.pm +++ b/perl-xCAT/xCAT/FSPUtils.pm @@ -146,6 +146,9 @@ sub getIPaddress # only need to parse IP addresses for Frame/CEC/BPA/FSP + if ($type eq "lpar") { + $type = xCAT::DBobjUtils->getnodetype($nodetocheck); + } #my $type = xCAT::DBobjUtils->getnodetype($nodetocheck); #my $type = $$attrs[4]; if ($type) {