From 1fb8387b7dc59a9ac62ef7c9b592197687818554 Mon Sep 17 00:00:00 2001 From: Murali Date: Fri, 15 Sep 2017 11:34:39 +0000 Subject: Fix the sed command bug to replace postgres ip Input and output were reversed,docker not working as expected Change-Id: I840b06d18ca6e154893803cb14486c4a1227da1e Jira:VNFSDK-78 Signed-off-by: Murali --- .../deployment/docker/docker-refrepo/src/main/docker/instance-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnfmarket-be/deployment/docker/docker-refrepo') diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/instance-init.sh b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/instance-init.sh index 25a22581..f052db2a 100755 --- a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/instance-init.sh +++ b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/instance-init.sh @@ -22,5 +22,5 @@ mysql -uroot -prootpass < init/marketplace_tables_mysql.sql sed -i 's|Changeme_123|rootpass|' webapps/ROOT/WEB-INF/classes/mybatis/configuration/configuration.xml #Set postgres instance IP -sed -i 's|$POSTGRES_IP|127.0.0.1|' webapps/ROOT/WEB-INF/classes/mybatis/configuration/configuration.xml +sed -i 's|127.0.0.1|'"$POSTGRES_IP"'|' webapps/ROOT/WEB-INF/classes/mybatis/configuration/configuration.xml -- cgit 1.2.3-korg