From 9d413508e64799b714b38d47891f2bd20e1020f3 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 18 Oct 2011 16:27:49 +0000 Subject: [PATCH] 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 --- 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 a90eb6da1..4d14cbb71 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -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 #