summaryrefslogtreecommitdiff
path: root/data/templates/login
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-01 21:49:24 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-02 10:00:06 +0000
commit68f8e61223a83cf3de516bd52a045d5a29319de0 (patch)
tree4867d8bfadbac1961bc3f9b079b8763af1c5cce7 /data/templates/login
parenta2356f7418d4ba27b0cd08a7506d672514729f3a (diff)
downloadvyos-1x-68f8e61223a83cf3de516bd52a045d5a29319de0.tar.gz
vyos-1x-68f8e61223a83cf3de516bd52a045d5a29319de0.zip
banner: T6077: dehardcode URLs in MOTD template
Use URLs provided by flavor build system and version.json file (cherry picked from commit a5762cb03f17fd0bc65a19604e505fe94ad42011)
Diffstat (limited to 'data/templates/login')
-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.