X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/blobdiff_plain/d6af243d1320e0b258a088ff33e262b41594ad44..075f6b8135bc61fa46dcd3aa4a79b9fcf8f43aa6:/server/etc/postgresql/8.3/main/pg_hba.conf.mako diff --git a/server/etc/postgresql/8.3/main/pg_hba.conf.mako b/server/etc/postgresql/8.3/main/pg_hba.conf.mako index cc02053..ea5fde5 100644 --- a/server/etc/postgresql/8.3/main/pg_hba.conf.mako +++ b/server/etc/postgresql/8.3/main/pg_hba.conf.mako @@ -82,7 +82,6 @@ local all all ident sameuser host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5 -host ${cfg.db.dbname} ${cfg.db.user} ${cfg.db.ip}/32 trust -% for h in cfg.hosts: -host ${cfg.db.dbname} ${cfg.db.user} ${h.ip}/32 trust +% for m in cfg.hosts + [cfg.db, cfg.remote, cfg.console]: +host ${cfg.db.dbname} ${cfg.db.user} ${m.ip}/32 trust % endfor