Fixed hostname in EC2/DHCP environment
Issue
- How to set a fixed hostname on a server running in EC2 which is based on RH7.0/7.1.
- The hostname is changes back to the one assigned to the VM by the DHCP server after reboot.
Environment
- Amazon EC2
- Red Hat Enterrise Linux 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.