Ignore:
Timestamp:
Aug 14, 2008, 3:15:38 PM (16 years ago)
Author:
y_z
Message:

generate config files using mako

Location:
trunk/packages/sipb-xen-console-server
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-console-server/debian/changelog

    r815 r889  
     1sipb-xen-console-server (2.06) unstable; urgency=low
     2
     3  * generate config files using mako
     4
     5 -- Yang Zhang <y_z@mit.edu>  Thu, 14 Aug 2008 15:15:18 -0400
     6
    17sipb-xen-console-server (2.05) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-console-server/debian/sipb-xen-console-server.init

    r815 r889  
    3232gen_config()
    3333{
    34         console_ip=$(invirt-getconf console.ip)
    35         cat >/etc/conserver/invirt-genconfig.cf <<EOF
    36 access * {
    37        trusted 127.0.0.1;
    38        trusted $console_ip;
    39        limited *;
    40 }
    41 EOF
     34        for i in /etc/conserver/invirt-genconfig.cf
     35        do mako-render $i.mako > $i
     36        done
    4237}
    4338
Note: See TracChangeset for help on using the changeset viewer.