On Mon, Mar 18, 2013 at 6:56 AM, Robert Jacobson <span dir="ltr">&lt;<a href="mailto:Robert.C.Jacobson@nasa.gov" target="_blank">Robert.C.Jacobson@nasa.gov</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I&#39;d like to override a profile-set variable for one particular system, but I can&#39;t figure out how to do it.  For the system, I want to completely replace name_servers_search with &quot;<a href="http://foo.com" target="_blank">foo.com</a>&quot;, but when I put in &#39;<a href="http://foo.com" target="_blank">foo.com</a>&#39; for name_servers_search for the system (using the web interface), it just appended it to the profile&#39;s value list rather than replacing it:<br>

<br>
# cobbler profile dumpvars --name=feds | grep name_servers_search<br>
default_name_servers_search : []<br>
name_servers_search : [&#39;<a href="http://gsfc.nasa.gov" target="_blank">gsfc.nasa.gov</a>&#39;, &#39;<a href="http://nasa.gov" target="_blank">nasa.gov</a>&#39;]<br>
<br>
# cobbler system dumpvars --name=test | grep name_servers_search<br>
default_name_servers_search : []<br>
name_servers_search : [&#39;<a href="http://gsfc.nasa.gov" target="_blank">gsfc.nasa.gov</a>&#39;, &#39;<a href="http://nasa.gov" target="_blank">nasa.gov</a>&#39;, &#39;<a href="http://foo.com" target="_blank">foo.com</a>&#39;]<br>

<br>
Platform:  cobbler-2.2.3-2.el6.noarch, cobbler-web-2.2.3-2.el6.noarch (EPEL) on RHEL6.4</blockquote><div><br></div><div>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 &quot;feds&quot; profile and name it &quot;feds-no-dns&quot; 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.</div>
</div>