[Spacewalk-list] systems registers as localhost.localdomain

Paul Robert Marino prmarino1 at gmail.com
Sat Sep 22 00:27:14 UTC 2012


The mac address of the initial network card needs to be registered and
mapped to the hostname.
Alternitively you can hit the tab button on the isolinux boot menu and add
the hostname paramiter to the boot options. I always do that when I'm
provisioning a new box with a generic profile.
On Sep 21, 2012 7:53 PM, "Giovanni Torres" <giovtorres at hotmail.com> wrote:

> I am using cobbler to manage dhcp.  How/where do I ensure that a
> reservation is made?
>
> > From: GregWojtak at quickenloans.com
> > To: spacewalk-list at redhat.com
> > Date: Fri, 21 Sep 2012 20:27:07 +0000
> > Subject: Re: [Spacewalk-list] systems registers as localhost.localdomain
> >
> > If you're provisioning the server with DHCP and you haven't made a
> reservation, then that will cause the behavior you see. The spacewalk
> registration takes place well before the cobbler scripts set the correct
> networking information in the kickstart process.
> >
> > I work around this by having a %post script that sets the correct
> hostname and IP, runs rhn-profile-sync and then spacecmd to update the
> systems profile name.
> >
> > Greg Wojtak
> > Sr. Unix Systems Engineer
> > Office: (313) 373-4306
> > Cell: (734) 718-8472
> >
> >
> > From: Giovanni Torres <giovtorres at hotmail.com<mailto:
> giovtorres at hotmail.com>>
> > Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>"
> <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
> > Date: Friday, September 21, 2012 12:19 PM
> > To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <
> spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
> > Subject: [Spacewalk-list] systems registers as localhost.localdomain
> >
> > What causes a system to register itself to spacewalk with the wrong IP
> address and a hostname of 'localhost.localdomain' via kickstart/cobbler?
> >
> > I checked the profile in cobbler and the hostname and IP address are
> correct and in DNS. The kickstart profile makes no mention of any IP
> addresses.
> >
> > What am I missing?
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> 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/20120921/28a2d311/attachment.htm>


More information about the Spacewalk-list mailing list