On Wed, Feb 1, 2012 at 4:11 PM, Michael DeHaan <[email protected]> wrote:
> To look at variables available, use "cobbler system dumpvars --name=foo"
>
> You probably also want to look here to see how networking data structures
> are accessed.   It's not terribly pretty, but that's just the way they are
> structured:
>
> https://github.com/cobbler/cobbler/blob/master/snippets/pre_install_network_config

I see the $name_servers variable but not sure how that can be used
within dhcp.template. I'd expect something like $iface.name_servers[0]
but $name_servers is not available in the $interfaces structure. Is
there another way to access the per-system name_servers var?
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to