X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/0a65acc5524cc443e1682f4d524d387b9577e5c1..5f5af8727a89630bbefac62c70f1dfd9eede0024:/code/templates/functions.tmpl diff --git a/code/templates/functions.tmpl b/code/templates/functions.tmpl index 2ae2266..e1ae309 100644 --- a/code/templates/functions.tmpl +++ b/code/templates/functions.tmpl @@ -33,11 +33,11 @@ $databaseList(sorted($sipb_xen_database.Autoinstall.select(), key=lambda x: x.de #end def #def vmTypeList($default=None) -#for $vmtype in sorted($sipb_xen_database.Type.select(), key=lambda x: x.description) +#for $vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ) #end for #end def