apt upgrade on PVE8.0.4 Causes all VMs lose their IP

nsc117

New Member
Jan 10, 2023
17
0
1
what i do :apt upgrade on PVE8.0.4 host,
then:the core Linux 6.2.16-14 update to Linux 6.2.16-15
then i restart host,
after that all VMs lose their IPs.
It seems that the original network card is missing and replaced by a new network card, but the mac address has not changed, and the IP and DNS are empty.
This resulted in all VMs being unable to connect remotely and I had to reconfigure the IP via the VNC console
 
Dont do apt upgrade, do apt dist-upgrade.
apt upgrade can break your system because dependencies of packages will not be taken care of if you use it.

Regarding your issue: this might be a problem with udev. you can fix the interface names by using udev-rules that fix the name to a specific parameter like pcie-location. cp /usr/lib/systemd/network/99-default.link /etc/systemd/network/99-default.link and change parameter of location.
 
Last edited: