summaryrefslogtreecommitdiff
path: root/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-09-09 19:29:06 +0000
committerChristian Breunig <christian@breunig.cc>2026-09-09 19:29:06 +0000
commitfdc0c4f48e6839142db30c2fb9c6d5c84b9eba90 (patch)
tree6cfd430a511fb3f680956fde6973aaf29059202b /scripts/cli
parentabf7613f8d34d7ed7bc59e7883d584625a4dd65c (diff)
downloadvyos-1x-fdc0c4f48e6839142db30c2fb9c6d5c84b9eba90.tar.gz
vyos-1x-fdc0c4f48e6839142db30c2fb9c6d5c84b9eba90.zip
interfaces: T9269: do not run the hw-id naming pass in a container
Container interfaces are veth pairs created by the runtime. They have no backing bus device in sysfs, so discover_physical_interfaces() never considers them, and their MAC is assigned by the host and regenerated on every start. A pending node could thus never be resolved. The pass only spent both bounded hardware waits and then asked for an hw-id that would not survive a restart: interface 'eth0' still has no hw-id configured after this boot's naming pass - bind it manually, e.g. ... Returning before write_status() leaves no status file behind, so warn_missing_interface_hardware() in vyos-router stays quiet by itself. setUpModule() pins the detection off for the test module - the build container would otherwise short-circuit every existing main() test.
Diffstat (limited to 'scripts/cli')
0 files changed, 0 insertions, 0 deletions