Actions
Bug #14808
closedForeman-Proxy DHCP class doesn't properly read subnets containing if statements
Description
if dhcpd.conf contain if statement for pxe then subnets are not detected
eg.:
option arch code 93 = unsigned integer 16; if option arch = 00:06 { filename "pxelinux/bootia32.efi"; } else if option arch = 00:07 { filename "efi64/bootx64.efi"; } else { filename "pxelinux.0"; }
SUBNET_BLOCK_REGEX in modules/dhcp_isc/dhcp_isc_main.rb doesn't properly deal with {}
Files
Updated by Dominic Cleal over 8 years ago
- Project changed from Foreman to Smart Proxy
- Category changed from DHCP to DHCP
- Status changed from New to Assigned
Updated by David PORTE about 8 years ago
you can try this patch
this should do the trick...be gentle, this is my first in ruby
Updated by Anonymous about 8 years ago
Could you create a pull request with your chnges for git repository at https://github.com/theforeman/smart-proxy please?
Updated by Anonymous about 8 years ago
- Status changed from Assigned to Duplicate
This appears to be a duplicate of http://projects.theforeman.org/issues/16079 which has now been resolved.
Updated by Anonymous about 8 years ago
- Related to Bug #16079: ISC DHCP subnets fail to parse with host or class stanzas inside added
Actions