Don't use MAC address as matching parameter when using "spoof"
When using the 'spoof' unattended installation option from a host on the local network, the MAC address (if available) is still used to determine which host profile to render the kickstart for.
This patch ignores the MAC address if using the ?spoof=<ip.addr> option. This is required for our environment, as we don't directly control DHCP/DNS so use the spoof option to obtain the correct kickstart file.
#1 Updated by Ohad Levy about 9 years ago
- Status changed from New to Feedback
- Assignee changed from Ohad Levy to Jon Fautley
would you consider refactoring the code that if using spoof, it simply doesn't go to that bit of code?
I think it would be cleaner if all of the additional checks will not be performed if we are in spoof mode.