diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-07 19:57:17 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-31 09:58:29 +0000 |
| commit | afd4574df20a1cf70607b5e7644773ce336ea095 (patch) | |
| tree | b48bfc4d8a158e90a49281b5d80746da18e54bb8 /interface-definitions/include/dependent-warning-source-interface.xml.i | |
| parent | 5a70decaaccd0c72871543c8c31fc9a501486b69 (diff) | |
| download | vyos-1x-afd4574df20a1cf70607b5e7644773ce336ea095.tar.gz vyos-1x-afd4574df20a1cf70607b5e7644773ce336ea095.zip | |
interfaces: T3871: keep the hypervisor's adapter order on ESXi
ESXi does not lay its adapters out in PCI address order. With four or more it
puts the fourth on a root port sorting ahead of the first three, so naming by
address made Network adapter 4 eth0 and shifted the rest. On the vmware-vsphere
OVA that moved the WAN, because cloud-init takes eth0 from the OVF properties.
The firmware port label carries the adapter order, and is what the VMware udev
rule this series removed matched on. Order by it, ahead of the address, for
hardware the hypervisor presented - recognised by its PCI vendor, or by DMI for
a model whose IDs are not known here. A physical server labels its ports too
and must not be reordered.
The label orders, it never identifies: a relabelled adapter is still the same
card.
Diffstat (limited to 'interface-definitions/include/dependent-warning-source-interface.xml.i')
0 files changed, 0 insertions, 0 deletions
