diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-26 15:35:10 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-26 14:35:54 +0000 |
commit | ec6bfeadbcfd838b43f49c6996430b8370caecc4 (patch) | |
tree | 0490fc6fa1edcc7a9d21f05c2ed0f6733efe1b80 /src/utils | |
parent | 2b5565bc5f3469dc34b47ee400173fb95fc5f6fd (diff) | |
download | vyos-1x-ec6bfeadbcfd838b43f49c6996430b8370caecc4.tar.gz vyos-1x-ec6bfeadbcfd838b43f49c6996430b8370caecc4.zip |
interfaces: T6519: harden config migration if ethernet interface is missing
During a corner case where the configuration is migrated to a different system
with fewer ethernet interfaces, migration will fail during an image upgrade.
vyos.ethtool.Ethtool() is instantiated with an invalid interface leading to an
exception that kills the migrator
(cherry picked from commit e47d4fd385631236da6882233b09f6364cbb077b)
Diffstat (limited to 'src/utils')
0 files changed, 0 insertions, 0 deletions