Shell script to set IP address in CentOS 5.2

Version 1

    This script can be use in VMware Studio's firstboot area to set network related things like IP address, netmask, hostname etc