Hide Forgot
1. Proposed title of this feature request [RFE] Have the default template automatically add the additional nameserver= lines 2. Who is the customer behind the request? Account: 646274 Fermilab - Business Systems TAM customer: no SRM customer: no Strategic: yes 3. What is the nature and description of the request? Anaconda supports multiple DNS servers for a given link (https://rhinstaller.github.io/anaconda/boot-options.html#nameserver) can the default template be altered to add all DNS servers for a given subnet to the boot parameters 4. Why does the customer need this? (List the business requirements here) I'm generally using Static addresses rather than DHCP. Any chance the default template can be updated to automatically add the additional nameserver= lines? I can setup the manual template, but I suspect the larger customer base would benefit from this beyond myself. 5. How would the customer like to achieve this? (List the functional requirements here) 6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented. 7. Is there already an existing RFE upstream or in Red Hat Bugzilla? No 8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)? Satellite 6 z stream 9. Is the sales team involved in this request and do they have any additional input? No 10. List any affected packages or components. 11. Would the customer be able to assist in testing this functionality if implemented? Yes
Created redmine issue http://projects.theforeman.org/issues/19065 from this bug
I'm lowering the severity because the default template doesn't cause any functionality loss. Users can always clone the template and override it with custom modifications.
Thanks for the report. I believe the default template adds both primary and secondary DNS if they are specified on subnet. At least that's what I see in the template > network --bootproto <%= dhcp ? 'dhcp' : "static --ip=#{@host.ip} --netmask=#{subnet.mask} --gateway=#{subnet.gateway} --nameserver=#{[subnet.dns_primary, subnet.dns_secondary].select(&:present?).join(',')}" %> --hostname <%= @host %><%= os_major >= 6 ? " --device=#{@host.mac}" : '' -%> Could you please explain what nameservers are missing? Or are more than 2 DNS server for subnet needed? Or is there some issue that secondary is not being added?
I believe the requested commit id is: https://github.com/theforeman/community-templates/commit/96c76a54aaa43d8a07e9640e1c3444381d68fa85 I do not see it in Sat 6.2.8
According to the information in the case I believe this bug requests adding nameservers to Kickstart default iPXE template where they're missing even in upstream.
Thanks Tomas, that makes sense. The iPXE template really does not have it. Pat, the commit you link changes it for PXE based provisioning and iPXE is still not enhanced in community-templates repo. So just to be sure, you'd like to have this for iPXE right?
That is correct, with caveat - iPXE itself does not support multiple DNS servers. The template cannot be enhanced until iPXE supports the enhancement.
Oh, that is a showstopper I'm afraid. I didn't find even any plan to add such support in iPXE. Does it make sense to keep this BZ open in that case?
I've not been able to find an iPXE upstream bug tracker (I may just be blind today). Any chance we can get a bug open against iPXE to add the feature and add this as dependent on it?
Somewhat related https://bugzilla.redhat.com/show_bug.cgi?id=1401126
Thank you, I opened the request as BZ 1438398, please watch the progress there.
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.