Change VM from DHCP to Static IP

Steps to change DHCP configuration to a static IP, if the VM was originally configured using DHCP. I’ve had to look this up a few times so I’m documenting it here. Edit the network adapter Edit the following file as root user /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static HWADDR=00:1A:A0:B2:B2:5B ONBOOT=yes NETMASK= NETWORK=… Read More »Change VM from DHCP to Static IP