X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/1581471a70984619922f7d0f1d3c5d218cff1faa..e5990205f8fad1c4299dd91729787d2b003c4081:/code/templates/error.mako?ds=inline diff --git a/code/templates/error.mako b/code/templates/error.mako index 1edb1b4..77c357b 100644 --- a/code/templates/error.mako +++ b/code/templates/error.mako @@ -5,6 +5,12 @@ ERROR! +%if os.path.exists("/etc/invirt/motd.html"): +
+

${open('/etc/invirt/motd.html').read()|n}

+
+%endif +

Uh-oh! We experienced an error. Sorry about that. We've gotten mail about it.