svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=891
+sipb-xen-remctl-auto (1.0.20) unstable; urgency=low
+
+ * generate config files using mako
+
+ -- Yang Zhang <y_z@mit.edu> Thu, 14 Aug 2008 15:18:46 -0400
+
sipb-xen-remctl-auto (1.0.19) unstable; urgency=low
* simplify the init script a la sipb-xen-dev
gen_config()
{
- echo "host/$(invirt-getconf remote.hostname)@$(invirt-getconf authn.0.realm)" \
- > /etc/remctl/acl/remote
+ for i in /etc/remctl/acl/remote
+ do mako-render $i.mako > $i
+ done
}
case "$1" in
--- /dev/null
+<% from invirt.config import structs as cfg %>\
+host/${cfg.remote.hostname}@${cfg.authn[0].realm}