mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	1596:Enhance the process of reinstall for PCM
This commit is contained in:
		| @@ -996,8 +996,16 @@ Usage: | ||||
|  | ||||
|         # Add BMC/FSP as reserve NICs and not remove it form nics table | ||||
|         foreach my $oldNic (keys %$oldNicsRef) { | ||||
|             if ($oldNicsRef->{$oldNic}->{'type'} ne 'BMC' and $oldNicsRef->{$oldNic}->{'type'} ne 'FSP') { | ||||
|                 $updateNicsHash{$oldNic} = 1; | ||||
|             if ($oldNicsRef->{$oldNic}->{'type'} ne 'BMC' and $oldNicsRef->{$oldNic}->{'type'} ne 'FSP'){ | ||||
|                 if ($oldNicsRef->{$oldNic}->{'network'} eq $newNicsRef->{$oldNic}->{'network'}){ | ||||
|                     $reserveNicsHash{$oldNic} = 1; | ||||
|                     if(exists $updateNicsHash{$oldNic}) | ||||
|                     { | ||||
|                         delete($updateNicsHash{$oldNic}); | ||||
|                     } | ||||
|                 } else { | ||||
|                     $updateNicsHash{$oldNic} = 1; | ||||
|                 } | ||||
|             } else { | ||||
|                 $reserveNicsHash{$oldNic} = 1; | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user