From 6be9034d4b29cfad7169678204ef1c4b8ad57c7e Mon Sep 17 00:00:00 2001 From: nott Date: Thu, 24 Mar 2011 18:23:00 +0000 Subject: [PATCH] don't remove lpp_source by default git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index e516b77bc..23f180e26 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -4800,6 +4800,12 @@ sub rmnimimage next; } + # don't remove lpp_source resource unless they specify delete + if ( ($attr eq 'lpp_source') && !$::DELETE) + { + next; + } + my @res_list; my $res_name = $imagedef{$image_name}{$attr}; chomp $res_name;