2020 12 01 24 58 [linux] debian rename ens33 to eth0

 

#/etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x8086:0x100e (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="01:23:45:67:89:ab", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

然後下 sudo update-initramfs -u

再重開機就好.
不過 /etc/network/interface 相對應的都要去改.