cd /etc/sysconfig/network-scripts/
vim ifcfg-ens33
生成uuid的命令是 uuidgen 替换即可
修改主机名
hostnamectl set-hostname node02
#重启网络
service network restart
cd /etc/sysconfig/network-scripts/
vim ifcfg-ens33
生成uuid的命令是 uuidgen 替换即可
修改主机名
hostnamectl set-hostname node02
#重启网络
service network restart