From a5ab9ee20953727b858681905ffe934ab58d1e07 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 18 Oct 2011 15:24:19 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 6b6b978b8..1c077eb90 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -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 #