查詢本機 網卡UUid
nmcli con list
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0C:29:D2:49:82
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="a896296b-a22c-485f-935e-575a3a615a9b"
IPADDR=192.168.1.103
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
IPV6INIT=no
USERCTL=no
service network restart