source: trunk/packages/sipb-xen-console/files/etc/nss-pgsql.conf.mako @ 926

Last change on this file since 926 was 887, checked in by y_z, 16 years ago

using mako-render to generate nss-pgsql.conf from gen_config

File size: 627 bytes
Line 
1<% from invirt.config import structs as cfg %>
2host        = ${cfg.db.host}
3port        = ${cfg.db.port}
4database    = ${cfg.db.dbname}
5login       = ${cfg.db.user}
6
7querypasswd = SELECT name, NULL, machine_id + 1000 as uid, machine_id + 1000 as gid, '', '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh' FROM machines
8querygroup = SELECT name, NULL, machine_id + 1000 as gid FROM machines
9querymembers = SELECT name FROM machines WHERE 1000 + machine_id = %d
10queryids = SELECT 1000 + machine_id AS gid FROM machines LIMIT 0
11
12passwd_name = name
13passwd_uid = 1000 + machine_id
14
15group_name = name
16group_gid = 1000 + machine_id
Note: See TracBrowser for help on using the repository browser.