可以看到MAC地址是不同的,但是DHCP就是获取不到新的IP
rm /etc/machine-id
systemd-machine-id-setup
echo new-hostname > /etc/hostname
修改/etc/hosts中的主机名
最后reboot
Views: 1
可以看到MAC地址是不同的,但是DHCP就是获取不到新的IP
rm /etc/machine-id
systemd-machine-id-setup
echo new-hostname > /etc/hostname
修改/etc/hosts中的主机名
最后reboot
Views: 1