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
This commit is contained in:
parent
a36e7c4976
commit
a3ccaaba90
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user