[cobbler] overriding name_servers_search

Robert Jacobson Robert.C.Jacobson at nasa.gov
Mon Mar 18 13:42:33 UTC 2013


On 3/18/2013 9:18 AM, James Cammarata wrote:
> Unfortunately there is no way around this, name servers and the search 
> domains are inherited up. What you could do instead is to copy your 
> "feds" profile and name it "feds-no-dns" or something similar which 
> will have no name server search assigned, and then assign systems to 
> it for which you want to manually specify the DNS variables.

Thanks.

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 :)

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson               Robert.C.Jacobson at nasa.gov
Lead System Admin       Solar Dynamics Observatory (SDO)
Bldg 14, E222                             (301) 286-1591



More information about the cobbler mailing list