2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

To support rhels7.4 DHCP response format

This commit is contained in:
hu-weihua 2017-10-12 05:24:39 -04:00
parent 6b39720bd2
commit eda410a169

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