Bug 605443
| Summary: | pre_install_network_config does not place nameservers in network line | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Charlie Wyse <cwyse> | ||||
| Component: | API | Assignee: | Milan Zázrivec <mzazrivec> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 530 | CC: | cperry, tao | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-03-11 22:08:51 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Charlie Wyse
2010-06-17 23:11:48 UTC
Created attachment 424978 [details]
nameservers patch
Here is a patch to fix the nameserver situation.
The attached diff does not state what file this is a patch too. Can you provide that information? Further, while I appreciate the patch and bug report, I will let you know that command line usage of cobbler outside of Satellite and outside of our Sat docs is not supported. So we will (once) we get confirmation on where to apply the proposed patch, look at it to see if we can bugfix this, but please have expectations set that in the end we may determine fixing this is not the best thing to do as it breaks something else (which is unlikely, but I don't want to give you the wrong impression). Cliff. [root@rlx-1-18 ~]# locate pre_install_network_config
/var/lib/cobbler/snippets/pre_install_network_config
[root@rlx-1-18 ~]# rpm -Vf /var/lib/cobbler/snippets/pre_install_network_config
S.5....T c /etc/cobbler/modules.conf
SM5....T c /etc/cobbler/settings
[root@rlx-1-18 ~]# rpm -qf /var/lib/cobbler/snippets/pre_install_network_config
cobbler-2.0.7-5.el5sat
[root@rlx-1-18 ~]# grep -C5 nameserver /var/lib/cobbler/snippets/pre_install_network_config
#set $netinfo = "--bootproto=static --ip=%s --netmask=%s" % ($ip, $netmask)
#if $gateway != ""
#set $netinfo = "%s --gateway=%s" % ($netinfo, $gateway)
#end if
#if $len($name_servers) > 0
#set $netinfo = "%s --nameserver=%s" % ($netinfo, $name_servers[0])
#end if
#else if not $static
#set $netinfo = "--bootproto=dhcp"
#else
## Skip this interface, it's set as static, but without
[root@rlx-1-18 ~]#
|