centos7链接克隆,和修改主机名
一、克隆完需要修改地方
1、修改网卡 /etc/sysconfig/network-scripts/ifcfg-eth0
删除UUID一行
修改IP
3、rm -f /etc/udev/rules.d/70-persistent-ipoib.rules
4、重启网卡 systemctl restart network
二、永久修改主机名
1、vi /etc/hostname
主机名
2、reboot
一、克隆完需要修改地方
1、修改网卡 /etc/sysconfig/network-scripts/ifcfg-eth0
删除UUID一行
修改IP
3、rm -f /etc/udev/rules.d/70-persistent-ipoib.rules
4、重启网卡 systemctl restart network
二、永久修改主机名
1、vi /etc/hostname
主机名
2、reboot