X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/1581471a70984619922f7d0f1d3c5d218cff1faa..47b9cb0d87524e6598da025f3c49cd013f00606b:/code/templates/error.mako?ds=sidebyside 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.