From 378d9ba7f76934bd8b73a347fbe0fea1cfa4b4ef Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Fri, 2 Apr 2010 09:53:19 +0000 Subject: [PATCH] The current hardware IPs have been written to otherinterfaces attribute, so read this attribute instead of ip when resetnet git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCfsp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCfsp.pm b/perl-xCAT/xCAT/PPCfsp.pm index 2db7d820b..33a52df4a 100644 --- a/perl-xCAT/xCAT/PPCfsp.pm +++ b/perl-xCAT/xCAT/PPCfsp.pm @@ -132,7 +132,7 @@ sub connect { ################################## my $hosttab = xCAT::Table->new( 'hosts' ); if ( $hosttab) { - my $hostshash = $hosttab->getNodeAttribs( $server, [qw(ip)]); + my $hostshash = $hosttab->getNodeAttribs( $server, [qw(otherinterfaces)]); if ( $hostshash ) { $server = $hostshash->{ip}; }