Put the MOTD at /etc/invirt/motd.html and parse it as HTML
[invirt/packages/invirt-web.git] / code / templates / list.mako
index f363537..d71792a 100644 (file)
@@ -9,9 +9,9 @@
 VM List
 </%def>
 
 VM List
 </%def>
 
-%if os.path.exists("/etc/invirt/message"):
+%if os.path.exists("/etc/invirt/motd.html"):
 <div class="result">
 <div class="result">
-<p class="error">${open('/etc/invirt/message').read()}</p>
+<p class="error">${open('/etc/invirt/motd.html').read()|n}</p>
 </div>
 %endif
 
 </div>
 %endif