[cobbler] overriding name_servers_search
Tom Brown
tom at ng23.net
Tue Mar 19 09:54:50 UTC 2013
>
> I was thinking I could also make my own post_install_network_config snippet and add an #if, like
> #if $name_servers_search.contains('override:')
> [more code to just extract the 'override' text...]
>
> But yeah, making another profile is pretty easy too :)
lots of profiles can become unwieldy - i prefer to do this within snippets and set a ksmeta variable to say 'location=foo'
Then use that in the snippet for an if / elseif / else and set everything that way -
easy to scale and can be managed in a single profile
thanks
More information about the cobbler
mailing list