1 hostname
vi /etc/hostname
2 nmcli con show 查看下两台克隆机器的UUID
uuidgen eno16777736 为网卡获取uuid
3 ip a
vi /etc/sysconfig/network-scripts/ifcfg-eno16777728
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777728
UUID=c89d907e-a13f-4758-ade0-a1a6b1d19d17
DEVICE=eno16777728
ONBOOT=yes
DNS1=192.168.9.2
DOMAIN=192.168.9.2
IPADDR=192.168.9.12
PREFIX=24
GATEWAY=192.168.9.2
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_PRIVACY=no
rm -rf /etc/udev/rules.d/70-persistent-net.rules
systemctl restart network.service
reboot