I have WHM installed on AWS and the networking is configured as DHCP.
/etc/sysconfig/network-scripts/ifcfg-eth0 has
I tried editing this file and setting the static IP assigned but it reverted back to DHCP on reboot. Is there a way to get this to use a static IP or should I just leave it alone? Everything seems to be working OK but I would prefer to have this as static.
/etc/sysconfig/network-scripts/ifcfg-eth0 has
Code:
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=dhcp
DEVICE=eth0
HWADDR=12:fd:fc:7c:55:cc
ONBOOT=yes
TYPE=Ethernet
USERCTL=no