write the otherinterfaces attributes with discoveried IPs instead of ip attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3922da1c56
commit
579af7d1e0
@ -1974,8 +1974,8 @@ 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} );
|
||||
if ( $ip ne $oi) {
|
||||
$hoststab->setNodeAttribs( $name,{otherinterfaces=>$namehash->{$name}} );
|
||||
}
|
||||
next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user