Using custom variable to assign value to bootfile-name

Niall O'Reilly niall.oreilly at ucd.ie
Thu Nov 12 10:46:57 UTC 2015


On Wed, 11 Nov 2015 22:42:55 +0000,
Simon Hobson wrote:
> 
> I think the problem he has is that if he allows the devs to edit that themselves, they screw up the rest of the config.

  Ah! Sorry: I missed that.

> I'm wondering if some include files (and perhaps some scripts) might work.
> 
> group target_1 {
>  $INCLUDE soft1.cfg
> }
> 
> Then generate a number of config files that you can use with the include statements. Either let the devs edit them directly, or let them work through a script that does some sanity checking.
> 
> Or put placeholders in the config, and have a script that replaces them with the desired values to generate a config file for the server to use.
> 

  All good ideas.

  /Niall
  


More information about the dhcp-users mailing list