mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-11 15:50:11 +00:00
To support rhels7.4 DHCP response format
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