克隆的话很简单,直接在主机关机的情况下右键管理克隆即可!
主要是在克隆完之后对新的系统网卡信息进行修改:
su 进入root (如果当前用户还没有加入到sudoers文件)
vi /etc/udev/rules.d/70-persistent-net.rules 进入网卡信息文件
将eth0的网卡信息删除或者注释,然后将eth1改为eth0并且记下其mac地址
修改网卡信息:vi /etc/sysconfig/network-scripts/ifcfg-eth0
将刚刚的mac地址复制过来在此处进行比较修改
可以用ifconfig查看ip信息,检查是否有问题。因为可能会遇到没有eth0的情况或者没有ip的情况。