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:
parent
412decbd9e
commit
6be9034d4b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user