2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +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:
Bin Xu
2017-10-13 15:56:05 +08:00
committed by GitHub

View File

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