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
标签:addresses,grub,10.105,vi,修改,Ubuntu,eth0
From: https://www.cnblogs.com/leoshi/p/16788199.html