1 <% from invirt.config import structs as cfg %>
4 database = ${cfg.db.dbname}
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
13 passwd_uid = 1000 + machine_id
16 group_gid = 1000 + machine_id