[Spacewalk-list] systems registers as localhost.localdomain

Wojtak, Greg (Superfly) GregWojtak at quickenloans.com
Mon Sep 24 12:52:57 UTC 2012


I didn't realize you could do that.  What are the parameters to set for the various pieces of network information?  (hostname, ip address, netmask, gateway, dns settings?)

Greg Wojtak
Sr. Unix Systems Engineer
Office: (313) 373-4306
Cell: (734) 718-8472


From: Paul Robert Marino <prmarino1 at gmail.com<mailto:prmarino1 at gmail.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 8:27 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: Re: [Spacewalk-list] systems registers as localhost.localdomain


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<mailto: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<mailto:GregWojtak at quickenloans.com>
> To: spacewalk-list at redhat.com<mailto: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<tel:%28313%29%20373-4306>
> Cell: (734) 718-8472<tel:%28734%29%20718-8472>
>
>
> From: Giovanni Torres <giovtorres at hotmail.com<mailto:giovtorres at hotmail.com><mailto:giovtorres at hotmail.com<mailto:giovtorres at hotmail.com>>>
> Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com><mailto:spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com><mailto: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><mailto:spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com><mailto: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<mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list

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




More information about the Spacewalk-list mailing list