- Change file /etc/sysconfig/network
- Change file /etc/hostname
- Chnage file /etc/hosts
sudo vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=MY_HOSTNAME_BOX_GOES_HERE
NOZEROCONF=yes
NETWORKING_IPV6=no
IPV6INIT=no
IPV6_ROUTER=no
IPV6_AUTOCONF=no
IPV6FORWARDING=no
IPV6TO4INIT=no
IPV6_CONTROL_RADVD=no
vim /etc/hostname
MY_HOSTNAME_BOX_GOES_HERE
sudo vim /etc/hosts
127.0.0.1 localhost localhost.localdomain MY_HOSTNAME_BOX_GOES_HERE
sudo reboot
# ssh to the box
hostname