VMware-克隆机,网卡修改
1、克隆
2、修改网卡eth1为eth0
vim /etc/udev/rules.d/70-persistent-net.rules
3、配置ip
vim /etc/sysconfig/network-scripts/ifcfg-etho
4、修改主机名
vi /etc/sysconfig/network
5、重启
reboot
6、添加hosts
vi /etc/hosts
vim /etc/udev/rules.d/70-persistent-net.rules
vim /etc/sysconfig/network-scripts/ifcfg-etho
vi /etc/sysconfig/network
reboot
vi /etc/hosts