On Mon, May 2, 2016 at 2:42 PM, Alastair Munro alastair@alastair-munro.com wrote:
Hi
'cobbler sync' should regenerate dhcp/tftp configs, if you have them enabled in /etc/cobbler/settings:
<SNIPPED>
You can use 'cobbler system getks --name=foo' to see the kickstart that will be generate. You can use 'cobbler system dumpvars --name=foo' to dump all the variables for a system. for example http_server and next_server are normally the same thing.
Alastair
Thanks Alastair, the extended portion of the dhcp.template file that you posted, is also on the serve and is a bit confusing. There is really no clear illustration of dhcp-tags anywhere.
What does this even mean?!
"#for dhcp_tag in $dhcp_tags.keys(): ## group could be subnet if your dhcp tags line up with your subnets ## or really any valid dhcpd.conf construct ... if you only use the ## default dhcp tag in cobbler, the group block can be deleted for a ## flat configuration"
And I "think", that again I'm in a situation where I need to have different profiles. so either setting a dhcp-tag (whatever), or set a server override. But either way I'm duplicating profiles which I don't believe I should have to do :)
I may well be missing something here, but I think getting into the code is the answer, because something is missing.
Thanks again for your continued assistance and ideas.
Tory