summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-01 21:49:24 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-01 21:49:24 +0100
commita5762cb03f17fd0bc65a19604e505fe94ad42011 (patch)
tree926af2074c08d3067e7fbdb860cf5a3fc528e4e4
parentbeb0576b1cb5e09ceb398e465c81cb8c06960391 (diff)
downloadvyos-1x-a5762cb03f17fd0bc65a19604e505fe94ad42011.tar.gz
vyos-1x-a5762cb03f17fd0bc65a19604e505fe94ad42011.zip
banner: T6077: dehardcode URLs in MOTD template
Use URLs provided by flavor build system and version.json file
-rw-r--r--data/templates/login/default_motd.j26
1 files changed, 3 insertions, 3 deletions
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.