vi /etc/default/grub
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
grub-mkconfig -o /boot/grub/grub.cfg
# 修改网卡
vi /etc/netplan/00-installer-config.yaml
network:
ethernets:
eth0:
dhcp4: no
addresses: [10.105.210.222/24]
gateway4: 10.105.210.254
nameservers:
addresses: [114.114.114.114]
version: 2