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
This commit is contained in:
nott 2011-03-24 18:23:00 +00:00
parent 412decbd9e
commit 6be9034d4b

View File

@ -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;