Skip to content

Commit

Permalink
op mode: T6339: display build flavor and comment in "show version"
Browse files Browse the repository at this point in the history
(cherry picked from commit cc0573a)
  • Loading branch information
dmbaturin authored and mergify[bot] committed May 16, 2024
1 parent 8c98231 commit 77aaa92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/op_mode/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (C) 2016-2022 VyOS maintainers and contributors
# Copyright (C) 2016-2024 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
Expand Down Expand Up @@ -30,11 +30,15 @@
version_output_tmpl = """
Version: VyOS {{version}}
Release train: {{release_train}}
Release flavor: {{flavor}}
Built by: {{built_by}}
Built on: {{built_on}}
Build UUID: {{build_uuid}}
Build commit ID: {{build_git}}
{%- if build_comment %}
Build comment: {{build_comment}}
{% endif %}
Architecture: {{system_arch}}
Boot via: {{boot_via}}
Expand Down

0 comments on commit 77aaa92

Please sign in to comment.