Remove the part of setting otherinterfaces in resetnet if the resetnet failed.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-07-04 02:05:20 +00:00
parent 9dab6c3015
commit 01084902f2

View File

@ -2800,9 +2800,9 @@ sub do_resetnet {
next;
}
if ( $namehash->{$name} ) {
$hoststab->setNodeAttribs( $name,{otherinterfaces=>$namehash->{$name}} );
}
#if ( $namehash->{$name} ) {
# $hoststab->setNodeAttribs( $name,{otherinterfaces=>$namehash->{$name}} );
#}
if (!$oi or $oi eq $namehash->{$name}) {
send_msg( $req, 0, "$name: same ip address, skipping network reset" );