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:
parent
6b39720bd2
commit
eda410a169
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user