X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/blobdiff_plain/ecbc2480383113933e782abee312f7c42e8fdd55..5d9dbc6ac22ce03205de8ce2246a1774526e84c4:/pg_hba.conf.mako diff --git a/pg_hba.conf.mako b/pg_hba.conf.mako index ea5fde5..c79e124 100644 --- a/pg_hba.conf.mako +++ b/pg_hba.conf.mako @@ -78,10 +78,6 @@ local all postgres ident sameuser # "local" is for Unix domain socket connections only local all all ident sameuser -# IPv4 local connections: -host all all 127.0.0.1/32 md5 -# IPv6 local connections: -host all all ::1/128 md5 % for m in cfg.hosts + [cfg.db, cfg.remote, cfg.console]: host ${cfg.db.dbname} ${cfg.db.user} ${m.ip}/32 trust % endfor