summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/version.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/op_mode/version.py b/src/op_mode/version.py
index 5aff0f767..a9916d246 100755
--- a/src/op_mode/version.py
+++ b/src/op_mode/version.py
@@ -49,6 +49,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}}
@@ -98,7 +100,7 @@ if __name__ == '__main__':
elif subprocess.call(""" grep '^overlay /' /proc/mounts >/dev/null """, shell=True) != 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')