implementing persistent network interfaces on Ubuntu 22.04 after kernel upgrade
I tried several approaches but none seem to work. After upgrading the kernel to version 5.15.0-46-generic on my Ubuntu 22.04 server, I've been experiencing issues with my network interfaces not being assigned persistent names. Previously, my `eth0` interface was correctly identified as `ens33`, but now it seems to default to `eth0` every time I reboot. I've checked the configuration in `/etc/netplan/` and it looks like this: ```yaml network: version: 2 ethernets: ens33: dhcp4: true ``` I've also tried regenerating the initramfs with `sudo update-initramfs -u` and rebooting the server, but the scenario continues. Additionally, `udevadm` reports the following when I check the device: ```bash udevadm info --query=all --name=ens33 ``` The output shows the `ID_NET_NAME_PATH` attribute as `eth0`. I suspect this may be related to the predictable network interface naming scheme introduced in systemd. Another thing I've noticed is that the output of `ip link show` lists the interfaces without their expected naming: ```bash 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 ``` I've also verified that the system's `netplan` service is up and functional with `sudo netplan apply`, yet the naming doesn't stick after reboots. How can I ensure that my network interfaces retain their names after a kernel upgrade? Am I missing something obvious?