avoid dup network def error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott
2011-10-18 16:27:49 +00:00
parent b2b48b7678
commit 9d413508e6
@@ -9555,6 +9555,11 @@ sub checkNIMnetworks
return 1;
}
# add new network to our list - so we don't try to recreate
push (@networks, $nethash{$node}{netname});
$NIMnets{$nethash{$node}{netname}}{'net_addr'}=$nethash{$node}{net};
$NIMnets{$nethash{$node}{netname}}{'snm'}=$nethash{$node}{mask};
#
# create an interface def (if*) for the master
#