From eda410a1694ceb3034f3575ceac8af9a579621d8 Mon Sep 17 00:00:00 2001 From: hu-weihua Date: Thu, 12 Oct 2017 05:24:39 -0400 Subject: [PATCH] To support rhels7.4 DHCP response format --- xCAT-probe/subcmds/detect_dhcpd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-probe/subcmds/detect_dhcpd b/xCAT-probe/subcmds/detect_dhcpd index c95f784c8..c0580046b 100755 --- a/xCAT-probe/subcmds/detect_dhcpd +++ b/xCAT-probe/subcmds/detect_dhcpd @@ -226,6 +226,8 @@ while () { } if ($line =~ /\s*DHCP-Message.*: Offer/) { $offer = 1; + } elsif ($line =~ /\s*file ".+"\[\|bootp\]/){ + $offer = 1; } elsif ($line =~ /\s*DHCP-Message.*: NACK/) { $nack = 1; }