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_netwo...
On Wednesday, February 1, 2012 at 7:04 PM, Eric Heydrick wrote:
I want to put nameserver settings in my dhcp template but it
doesn't
appear that the $name_servers variable is available within
dhcp.template. I could use some other variable that is exposed to the
template but it would be nice if I didn't have to duplicate the name
servers field. Any better solution?
-Eric
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org (mailto:cobbler@lists.fedorahosted.org)
https://fedorahosted.org/mailman/listinfo/cobbler