generate config files using mako
[invirt/packages/invirt-console.git] / files / etc / remctl / acl / invirt-console
index 1cfd858..f2fffe3 100644 (file)
@@ -1,2 +1,4 @@
-host/black-mesa.mit.edu@ATHENA.MIT.EDU
-host/sx-blade-2.mit.edu@ATHENA.MIT.EDU
+<% from invirt.config import structs as cfg %>\
+% for h in cfg.hosts:
+host/${h.hostname}@${cfg.authn[0].realm}
+% endfor