Alon Bar-Lev has uploaded a new change for review. Change subject: db: do not override ENGINE_PGPASS if exists ......................................................................
db: do not override ENGINE_PGPASS if exists Change-Id: Ic74469b2019881e937cd52ebec6728cc45d2e6e4 Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M backend/manager/dbscripts/engine-db-install.sh 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/74/11574/1 diff --git a/backend/manager/dbscripts/engine-db-install.sh b/backend/manager/dbscripts/engine-db-install.sh index 69d766f..4f07dbc 100755 --- a/backend/manager/dbscripts/engine-db-install.sh +++ b/backend/manager/dbscripts/engine-db-install.sh @@ -96,7 +96,7 @@ PSQL_BIN=/usr/bin/psql # Update PSQL BIN to include .pgpass environment variable, host and port values -ENGINE_PGPASS=/etc/ovirt-engine/.pgpass +ENGINE_PGPASS=${ENGINE_PGPASS:-/etc/ovirt-engine/.pgpass} PSQL="${PSQL_BIN} -h $DB_HOST -p $DB_PORT" if [[ "x${REMOTE_INSTALL}" == "xremote" ]] -- To view, visit http://gerrit.ovirt.org/11574 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic74469b2019881e937cd52ebec6728cc45d2e6e4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches