I want to update the hostname for one of my VMware virtual machines running SUSE Linux Enterprise Server 11 SP3 for VMware .
I tried changing the hostname using YaST but after reboot the old name came back.
echo "newhostname > /etc/HOSTNAME" but after reboot this also goes.
I also tried
hostname newhostname but this was also lost after reboot.
How can I make the change permanent?