summaryrefslogtreecommitdiffstats
path: root/config/pe/pap-tweaks.sh
diff options
context:
space:
mode:
authorITSERVICES\rb7147 <rb7147@att.com>2017-05-09 13:54:45 -0400
committerITSERVICES\rb7147 <rb7147@att.com>2017-05-09 15:23:41 -0400
commitb150ebac50287476676b67a84aff996fc738ee7b (patch)
tree67ef0e6e264a243c724300ceee7631d015c6538e /config/pe/pap-tweaks.sh
parent687f2fc263e76180b85401e60eadd82520504148 (diff)
Policy 1707 Docker script changes
Change-Id: I765e2badf48d4f7554de2a6ea037289e3f76e512 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
Diffstat (limited to 'config/pe/pap-tweaks.sh')
-rwxr-xr-xconfig/pe/pap-tweaks.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/config/pe/pap-tweaks.sh b/config/pe/pap-tweaks.sh
index be8a905a..36ac3689 100755
--- a/config/pe/pap-tweaks.sh
+++ b/config/pe/pap-tweaks.sh
@@ -1,15 +1 @@
#! /bin/bash
-
-# config directory may contain an ip_addr.txt file that specifies
-# the VM IP address. Substitute this value in the URL in the
-# config.json file, overriding the hostname that came from the
-# REST_PAPURL_WITH_AUTH_PASSWORD property in console.conf. This is
-# to avoid hardcoding an IP address in console.conf that can change
-# from one VM instance to the next.
-
-if [[ -f config/ip_addr.txt ]]; then
- vm_ip=$(<config/ip_addr.txt)
- echo "Substituting VM IP address $vm_ip in console config.json file"
- sed -i -e "s@http:.*:@http://$vm_ip:@" \
- $POLICY_HOME/servers/console/webapps/ecomp/app/policyApp/Properties/config.json
-fi