bash scripts: set_network: CentOS. editing /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth0 for different networks