From 68f8e61223a83cf3de516bd52a045d5a29319de0 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 1 Mar 2024 21:49:24 +0100 Subject: banner: T6077: dehardcode URLs in MOTD template Use URLs provided by flavor build system and version.json file (cherry picked from commit a5762cb03f17fd0bc65a19604e505fe94ad42011) --- data/templates/login/default_motd.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/templates/login') diff --git a/data/templates/login/default_motd.j2 b/data/templates/login/default_motd.j2 index 8584d261a..543c6f8e0 100644 --- a/data/templates/login/default_motd.j2 +++ b/data/templates/login/default_motd.j2 @@ -4,9 +4,9 @@ Welcome to VyOS! . VyOS {{ version_data.version }} └ ──┘ {{ version_data.release_train }} - * Documentation: https://docs.vyos.io/en/{{ version_data.release_train | replace('current', 'latest') }} - * Project news: https://blog.vyos.io - * Bug reports: https://vyos.dev + * Documentation: {{ version_data.documentation_url }} + * Project news: {{ version_data.project_news_url }} + * Bug reports: {{ version_data.bugtracker_url }} You can change this banner using "set system login banner post-login" command. -- cgit v1.2.3