Change in ovirt-engine[master]: core: Use .pgpass from home in dev env

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Dec 5 10:47:11 UTC 2012


Juan Hernandez has submitted this change and it was merged.

Change subject: core: Use .pgpass from home in dev env
......................................................................


core: Use .pgpass from home in dev env

We use the .pgpass file from /etc/ovirt-engine in production
environments, but this doesn't exist or is not available in most
development environments, so we should try to use the file from user's
home directory. If we don't do that the create_db_devel.sh script keeps
asking for the database password for ever.

Change-Id: I87e36c169dcf3a0aa1914ed46ccea068231d6b6d
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/dbscripts/dbcustomfunctions.sh
1 file changed, 10 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9417
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I87e36c169dcf3a0aa1914ed46ccea068231d6b6d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>



More information about the Engine-commits mailing list