[Spacewalk-list] spacewalk-hostname-rename

Gregory Machin gdm at linuxpro.co.za
Thu Jan 20 05:58:14 UTC 2011


/etc/sysconfig/network "HOSTNAME" was change from localhost to
drvprpo01 before running spacewalk-hostname-rename .




On Mon, Jan 17, 2011 at 11:51 PM, Jan Pazdziora <jpazdziora at redhat.com> wrote:
> 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