projects
/
invirt/packages/invirt-console.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generate config files using mako
[invirt/packages/invirt-console.git]
/
files
/
etc
/
remctl
/
acl
/
invirt-console
diff --git
a/files/etc/remctl/acl/invirt-console
b/files/etc/remctl/acl/invirt-console
index
1cfd858
..
f2fffe3
100644
(file)
--- a/
files/etc/remctl/acl/invirt-console
+++ b/
files/etc/remctl/acl/invirt-console
@@
-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