don't uninstall the packages from osimage with rmkit -f
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -2168,7 +2168,7 @@ sub addkitcomp
 | 
			
		||||
                        my %rsp;
 | 
			
		||||
                        push@{ $rsp{data} }, "Upgrading kit component $oskitcomp to $kitcomp";
 | 
			
		||||
                        xCAT::MsgUtils->message( "I", \%rsp, $callback );
 | 
			
		||||
                        my $ret = xCAT::Utils->runxcmd({ command => ['rmkitcomp'], arg => ['-f','-u','-i',$osimage, $oskitcomp] }, $request_command, -2, 1);
 | 
			
		||||
                        my $ret = xCAT::Utils->runxcmd({ command => ['rmkitcomp'], arg => ['-f','-i',$osimage, $oskitcomp] }, $request_command, -2, 1);
 | 
			
		||||
                        if ( !$ret ) {
 | 
			
		||||
                            my %rsp;
 | 
			
		||||
                            push@{ $rsp{data} }, "Failed to remove kit component $kitcomp from $osimage";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user