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