summaryrefslogtreecommitdiff
path: root/src/op_mode/version.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-05-13 22:00:42 +0200
committerChristian Poessinger <christian@poessinger.com>2019-05-13 22:00:42 +0200
commita8b5fae5581c03c5037c5fdc840be3e5bf984484 (patch)
treebea9f4910581581ea2744fbb453780753a668878 /src/op_mode/version.py
parent4c070a73a3fac283f5ab8ca679bc1ac191565ef6 (diff)
downloadvyos-1x-a8b5fae5581c03c5037c5fdc840be3e5bf984484.tar.gz
vyos-1x-a8b5fae5581c03c5037c5fdc840be3e5bf984484.zip
T1378: extend version file with Git commit ID
The Git commit ID will be crucial for the future when the full VyOS build can be reproduced by the one Git commit ID, thus start recording it in the version file.
Diffstat (limited to 'src/op_mode/version.py')
-rwxr-xr-xsrc/op_mode/version.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/op_mode/version.py b/src/op_mode/version.py
index ce3b3b54f..5aff0f767 100755
--- a/src/op_mode/version.py
+++ b/src/op_mode/version.py
@@ -51,7 +51,8 @@ version_output_tmpl = """
Version: VyOS {{version}}
Built by: {{built_by}}
Built on: {{built_on}}
-Build ID: {{build_id}}
+Build UUID: {{build_uuid}}
+Build Commit ID: {{build_git}}
Architecture: {{system_arch}}
Boot via: {{boot_via}}