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:
parent
9dab6c3015
commit
01084902f2
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user