/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 <[email protected]> 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 > _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
