From a3ccaaba903c0bc6ad7d634b3184ab51962d6e50 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 31 May 2010 09:12:46 +0000 Subject: [PATCH] Update otherinterfaces attribute in resetnet git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/lsslp.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index d2ebf0123..d110488ba 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -1974,6 +1974,9 @@ sub do_resetnet { if ( $namehash->{$name} ) { if ( !$ip or $ip eq $namehash->{$name} ) { send_msg( $req, 0, "$name: same ip address, skipping network reset" ); + if ($ip ne $oi) { + $hoststab->setNodeAttribs( $name,{otherinterfaces=>$ip} ); + } next; } } else {