Bug 106518
Summary: | Need to set RHEN profile name during PXE/DHCP kickstart | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Narsi Subramanian <narsis> |
Component: | Server | Assignee: | Jesus M. Rodriguez <jesusr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | jadb, johnsond, lakamine, mkunjal, rhn-bugs, smartin, tao, tkramer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHN 3.x | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-02 00:05:17 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: |
Description
Narsi Subramanian
2003-10-07 22:06:19 UTC
Did you use rhnreg_ks? Did you call it in the %post section of the kickstart file, or was it run after the fact? If hostname returns localhost.localdomain, then there is not much one can do about it. Can you confirm hostname returns valid data? It was run in the %post of the kickstart - isn't that where it should run according to our Satellite documentation on how to use RHEL Satellite in a KickStart script? At that point, hostname is still localhost. We documented this in the install guide and rhnreg_ks needs to be using the DNS lookup of the IP address it has. Otherwise, if a company is deploying 500 new systems, they will all be localhost and no one knows which system is which. If we can't add the hostname properly into the Satellite at that point, we should have another app we can run later that changes the profile name in the Satellite. We should consider documenting a workaround for this issue. At the point in the %post section in which rhnreg_ks runs, it should be possible to determine the intended hostname, even if "hostname" itself returns localhost at this point. Then use the intended hostname as the profile name, using rhnreg_ks's --profilename switch. Would this solve the customer's issue? yes it would rhn_register-2.8.39 "trys harder" to get a real hostname/ip if folks could try it and tell me if it tries hard enough, I'd appreciate it. er, sorry, wrong branch... 2.8.39 doesnt have it yet, pushing it to fedora as part of say up2date-4.1.6 or higher if it works, something similar will probabaly land in rhn_register 2.8.40 or so for rhel2.1 as well so, whats a good way to hide the hostname to make sure rhnreg_ks tries harder. aka testplan. Any updates... Do we have any updates on this. Need to update the customer... Thanks Mahesh Hi RHN, Any update on this one? Dreamworks is now an RHN Beta customer of ours so would like to update them on this versus having them chase us for it... Please advise of an eta? |