Hi Ian,
Are you sure?
Predictable Network Interface Names have been a thing since udev
v197 about 10 years ago:
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfa…
The only thing that stopped it happening to Xen VMs was that udev
did not know what a Xen network interface was until recently.
cloud-init doesn't choose interface names - that all happens with
udev way before cloud-init is run.
On desktop I find most people don't notice because NetworkManager
just does DHCP regardless of what the network interface is called
and they never need to look.
I would have to type "ip link" to tell you what the name of my wifi
interface is now on Debian 12, and I've been using this laptop for
13 months. Oh, it's wlp166s0. If I found myself needing to know that
often then I'd probably use a .link file to rename it to something
of my own choice.
Thanks,
Andy
On Sat, Apr 27, 2024 at 02:12:26PM +0100, Ian via BitFolk Users wrote:
The other thing that caught me was that I don't
think this happens on a
'normal' desktop upgrade of Ubuntu vs one that gets its info via cloud-init
and is on a Xen-based VPS.
Ian
--
https://bitfolk.com/ -- No-nonsense VPS hosting