From: Quentin Smith Date: Sun, 28 Oct 2007 04:13:37 +0000 (-0400) Subject: Use daemon/sipb-xen.mit.edu and don't give user fake auth token in an HTML comment. X-Git-Tag: sipb-xen-www/1~43 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/102769b5296d5a4895fff466def7c99f8a255fb3 Use daemon/sipb-xen.mit.edu and don't give user fake auth token in an HTML comment. Closes #31 svn path=/trunk/web/; revision=216 --- diff --git a/templates/controls.py b/templates/controls.py index 5311dd9..1e769b0 100644 --- a/templates/controls.py +++ b/templates/controls.py @@ -23,7 +23,7 @@ def uuidToString(u): "%02x" * 6]) % tuple(u) # end stolen code -def kinit(username = 'tabbott/extra', keytab = '/etc/tabbott.keytab'): +def kinit(username = 'daemon/sipb-xen.mit.edu', keytab = '/etc/sipb-xen.keytab'): """Kinit with a given username and keytab""" p = subprocess.Popen(['kinit', "-k", "-t", keytab, username], diff --git a/templates/vnc.tmpl b/templates/vnc.tmpl index 47415fe..0dfa965 100644 --- a/templates/vnc.tmpl +++ b/templates/vnc.tmpl @@ -22,7 +22,7 @@ Console to $machine.name - +*# #end def