Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed dnsmasq issue regarding missing dhcp-host entries #157

Merged
merged 1 commit into from Apr 28, 2012
Merged

Fixed dnsmasq issue regarding missing dhcp-host entries #157

merged 1 commit into from Apr 28, 2012

Conversation

nielsbasjes
Copy link
Contributor

The config file for dnsmasq usually has an empty result for the $insert_cobbler_system_definitions macro.
The current behaviour in manage_dnsmaq.py is to only write a dhcp-host entry for ia64 achritecture to handle a different pxelinux.0 .

In all scenarios where I've deployed cobbler I've used dnsmasq in such a way that I need a dhcp-host entry for every system.
The main reason is that during the initial PXE boot the only thing that is known of a system is its MAC address.
The file /var/lib/cobbler/cobbler_hosts conly contains ip addresses and hostnames, no MAC addresses.

So what I need is cobbler to write a dhcp-host entry for every known host with as much useful information as possible.

This is the fix I have running here that really improves the things I can do with the cobbler-dnsmasq combination.

jimi-c added a commit that referenced this pull request Apr 28, 2012
Fixed dnsmasq issue regarding missing dhcp-host entries
@jimi-c jimi-c merged commit 8469b4f into cobbler:master Apr 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants