diff options
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/version.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/op_mode/version.py b/src/op_mode/version.py index 8599c958f..2791f5e5c 100755 --- a/src/op_mode/version.py +++ b/src/op_mode/version.py @@ -53,6 +53,8 @@ def read_file(name): version_output_tmpl = """ Version: VyOS {{version}} +Release Train: {{release_train}} + Built by: {{built_by}} Built on: {{built_on}} Build UUID: {{build_uuid}} @@ -102,7 +104,7 @@ if __name__ == '__main__': elif run(""" grep '^overlay /' /proc/mounts >/dev/null """) != 0: boot_via = "legacy non-image installation" version_data['boot_via'] = boot_via - + # Get hardware details from DMI version_data['hardware_vendor'] = read_file('/sys/class/dmi/id/sys_vendor') |