[Spacewalk-list] "Unknown" hostname

Glaser, David dsglaser at umich.edu
Thu Jul 2 16:32:35 UTC 2009


It shouldn't have to be in DNS, as long as the hostname is set on the box (really set on the box, not just set in /etc/hosts). You can fake it if you want by using -profilename option in rhnreg_ks and forcing the profile name no matter what the machine thinks the hostname is at the time.

Dave


From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Chad Pritchett
Sent: Thursday, July 02, 2009 12:28 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] "Unknown" hostname

I'm not doing this in kickstart at the moment, just running a script that installs the tools and registers the system.  This is always done after we've set the hostname, although it might not necessarily be in DNS.  Could that be the problem?

Thanks,
--
Chad Pritchett
Linux Systems Administrator

Murray State University
(270) 809-5752
chad.pritchett at murraystate.edu<mailto:chad.pritchett at murraystate.edu>

On Thu, Jul 2, 2009 at 11:22 AM, Glaser, David <dsglaser at umich.edu<mailto:dsglaser at umich.edu>> wrote:

That usually happens if when you register you don't have a hostname set on the machine (i.e it comes up with a hostname of localhost.localdomain) or when you register the machine it doesn't have a hostname that can be determined from DNS.



Are you building/registering machines via kickstart?



Dave



David Glaser

Systems Administrator

University of Michigan



From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>] On Behalf Of Chad Pritchett
Sent: Thursday, July 02, 2009 12:17 PM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: [Spacewalk-list] "Unknown" hostname



Spacewalk is not picking up the hostnames of new systems I am registering.  This was working just fine, but at some point they started showing up as "unknown".


--
Chad Pritchett
Linux Systems Administrator

Murray State University
(270) 809-5752
chad.pritchett at murraystate.edu<mailto:chad.pritchett at murraystate.edu>

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090702/71145069/attachment.htm>


More information about the Spacewalk-list mailing list