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
This commit is contained in:
		| @@ -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}; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user