I have several amazon ec2 instances running Linux AMIs based on Fedora and even though I set the hostname using the command:
hostname example.com
whenever I have to reboot any of them this hostname gets reset to something ip***, how can I make my hostname stick and make it permanent??