avoid dup network def error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2011-10-18 15:24:19 +00:00
parent 670522b98e
commit a5ab9ee209

View File

@ -9653,6 +9653,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
#