diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-26 18:45:56 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-26 18:45:56 +0100 |
| commit | d8dcf6bc7c98435c8c01150e6db0d565c88c3849 (patch) | |
| tree | 2957517af34466cc5c506067c10302d42eb377b6 /debian/cloud-init.preinst | |
| parent | 83f45e337a4d9393c0baa4aca2b9ade5c05f9bbe (diff) | |
| download | vyos-cloud-init-d8dcf6bc7c98435c8c01150e6db0d565c88c3849.tar.gz vyos-cloud-init-d8dcf6bc7c98435c8c01150e6db0d565c88c3849.zip | |
cloud-init: T3871: record the names the cloud gave its NICs
Interface names are no longer derived from a MAC held in the configuration,
so writing one back was producing a node which no longer exists.
A configuration carrying it is rejected on load, and migration does not catch
it: the file is brought to the current version before it is modified, so
nothing runs over it afterwards.
Which NIC the cloud considers the first one is not visible in the hardware
and only the datasource knows it, so that order still has to be recorded - now
in the mapping store, against the slot each card sits in, before the naming
pass reads it. Hardware the datasource describes but which is not present is
skipped, as is a name or a slot already spoken for.
Diffstat (limited to 'debian/cloud-init.preinst')
0 files changed, 0 insertions, 0 deletions
