[Spacewalk-list] spacewalk-hostname-rename
Jan Pazdziora
jpazdziora at redhat.com
Mon Jan 17 10:51:32 UTC 2011
On Fri, Jan 14, 2011 at 10:18:29AM +1300, Gregory Machin wrote:
> Hi.
> What is the correct way to specify the new hostname when using
> spacewalk-hostname-rename. I have tried changing it in
> /etc/sysconfig/network and spacewalk-hostname-rename wouldn't run
> exiting as follows
>
> Validating IP ... OK
> =============================================
> hostname: localhost
> ip: 10.24.0.223
> =============================================
> Wrong hostname in /etc/sysconfig/network: "drvprpo01"
> Fix the problem and run /usr/bin/spacewalk-hostname-rename again
Well, your $HOSTNAME is set to localhost and your
/etc/sysconfig/network says it's drvprpo01. Which one is true?
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list