!6405 修复单机容器pg_hba.conf配置问题
Merge pull request !6405 from zzh/cherry-pick-1727059487
This commit is contained in:
@ -259,7 +259,9 @@ opengauss_setup_hba_conf() {
|
||||
echo "host replication repuser $OG_SUBNET trust"
|
||||
fi
|
||||
} >> "$PGDATA/pg_hba.conf"
|
||||
sed -i "/# IPv6 local connections:/a host all omm $OG_SUBNET trust" $PGDATA/pg_hba.conf
|
||||
if [ -n "$SERVER_MODE" ]; then
|
||||
sed -i "/# IPv6 local connections:/a host all omm $OG_SUBNET trust" $PGDATA/pg_hba.conf
|
||||
fi
|
||||
}
|
||||
|
||||
# append parameter to postgres.conf for connections
|
||||
|
||||
Reference in New Issue
Block a user