X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/a233e191c363c40d4a5c4b68da23dd627b4906c6..93de0c02b63e2eb954a00d4e8b481b5df0560dfb:/code/templates/info.mako?ds=sidebyside

diff --git a/code/templates/info.mako b/code/templates/info.mako
index e83fef1..1fb4284 100644
--- a/code/templates/info.mako
+++ b/code/templates/info.mako
@@ -5,6 +5,12 @@
 Info on ${machine.name}
 </%def>
 
+%if os.path.exists("/etc/invirt/motd.html"):
+<div class="result">
+<p class="error">${open('/etc/invirt/motd.html').read()|n}</p>
+</div>
+%endif
+
 <%def name="infoTable()">
 <h2>Info</h2>
 <table>