Re: nameservers in dhcp template

2012-02-01 Thread Michael DeHaan
Ah, told you wrong. Name servers is an array. On Wednesday, February 1, 2012 at 7:47 PM, Eric Heydrick wrote: > On Wed, Feb 1, 2012 at 4:11 PM, Michael DeHaan (mailto:michael.deh...@gmail.com)> wrote: > > To look at variables available, use "cobbler system dumpvars --name=foo" > > > > You p

Re: nameservers in dhcp template

2012-02-01 Thread Eric Heydrick
On Wed, Feb 1, 2012 at 4:11 PM, Michael DeHaan 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:

Re: nameservers in dhcp template

2012-02-01 Thread Michael DeHaan
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_

nameservers in dhcp template

2012-02-01 Thread Eric Heydrick
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 soluti