create disks as hda instead of xvda so as to avoid breaking qemu-dm
[invirt/packages/invirt-web.git] / code / templates / error.mako
index 1edb1b4..77c357b 100644 (file)
@@ -5,6 +5,12 @@
 ERROR!
 </%def>
 
 ERROR!
 </%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
+
 <p>Uh-oh!  We experienced an error.  Sorry about that.  We've gotten
 mail about it.</p>
 
 <p>Uh-oh!  We experienced an error.  Sorry about that.  We've gotten
 mail about it.</p>