X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/blobdiff_plain/0ea05e1293366c01ad900c6db972cd874b684166..1c4ab89c5b2d54b6fd05817589266f755c4e6935:/pg_hba.conf.mako diff --git a/pg_hba.conf.mako b/pg_hba.conf.mako index 2602310..d671a27 100644 --- a/pg_hba.conf.mako +++ b/pg_hba.conf.mako @@ -81,4 +81,6 @@ local all all ident % for m in cfg.hosts + [cfg.db, cfg.remote, cfg.console]: host ${cfg.db.dbname} ${cfg.db.user} ${m.ip}/32 trust % endfor -host ${cfg.noc.dbname} ${cfg.noc.user} ${cfg.noc.ip}/32 trust +% for m in cfg.noc: +host ${m.dbname} ${m.user} ${m.ip}/32 trust +% endfor