mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Merge pull request #4091 from hu-weihua/dhcp
To support rhels7.4 DHCP response format in detect_dhcpd tool
This commit is contained in:
		@@ -226,6 +226,8 @@ while (<FILE>) {
 | 
			
		||||
    }
 | 
			
		||||
    if ($line =~ /\s*DHCP-Message.*: Offer/) {
 | 
			
		||||
        $offer = 1;
 | 
			
		||||
    } elsif ($line =~ /\s*file ".+"\[\|bootp\]/){
 | 
			
		||||
        $offer = 1;
 | 
			
		||||
    } elsif ($line =~ /\s*DHCP-Message.*: NACK/) {
 | 
			
		||||
        $nack = 1;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user