From 0fd4e85c3ae779fff9edd8dda898a19276b25519 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 25 Aug 2010 11:35:08 +0200 Subject: [PATCH] Try adding more stuff to the motd --- modules/motd/templates/motd.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 37d9b4fe3..fbe118017 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -28,6 +28,12 @@ if (nodeinfo['ldap'].at(0)) and (nodeinfo['ldap'][0].has_key?('purpose')) purp += nodeinfo['ldap'][0]['architecture'][0] end purp += " porterbox\n" + purp += "\n" + purp += "See 'dchroot -l' for a list of available chroots.\n" + if nodeinfo['ldap'][0].has_key?('admin') + purp += "Please contact #{nodeinfo['ldap'][0]['admin'][0]} for install requests,\n" + purp += "following the recommendations in .\n" + end else purp += ", used for the following services:\n" nodeinfo['ldap'][0]['purpose'].sort.each do |l| @@ -52,3 +58,8 @@ purp %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +<% +# vim:set et: +# vim:set sts=2 ts=2: +# vim:set shiftwidth=2: +-%> -- 2.20.1