summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-09-01 08:10:36 +0000
committerChristian Breunig <christian@breunig.cc>2026-09-01 17:28:54 +0200
commit5d9481d4f315c5e6296e374904d2f22768b995ec (patch)
treeb06f05c199a004cb1e8551e1ddf57bd0a31ec507 /scripts
parent38fbaed5dec555b83590e2bddc1ad18418a87038 (diff)
downloadvyos-1x-5d9481d4f315c5e6296e374904d2f22768b995ec.tar.gz
vyos-1x-5d9481d4f315c5e6296e374904d2f22768b995ec.zip
version: T9269: omit hardware details on containers
A container has no hardware of its own - vendor, model, serial and UUID are read from /sys/class/dmi/id and thus describe the host system. Listing them below "System type: container" reads as a property of the node. Leave the hardware_* keys unset when running as a container and omit the entire block in both "show version" and the airbag bug report. The latter moves the fields into an optional HARDWARE section, as str.format() has no conditionals.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions